public class SegmentPropertyState extends Object implements org.apache.jackrabbit.oak.api.PropertyState
Depending on the property type, this is a record of type "VALUE" or a record of type "LIST" (for arrays).
| Modifier and Type | Method and Description |
|---|---|
int |
count() |
boolean |
equals(Object object) |
String |
getName() |
RecordId |
getRecordId()
Returns the identifier of this record.
|
protected int |
getRecordNumber() |
protected Segment |
getSegment()
Returns the segment that contains this record.
|
org.apache.jackrabbit.oak.api.Type<?> |
getType() |
<T> T |
getValue(org.apache.jackrabbit.oak.api.Type<T> type) |
<T> T |
getValue(org.apache.jackrabbit.oak.api.Type<T> type,
int index) |
int |
hashCode() |
boolean |
isArray() |
long |
size() |
long |
size(int index) |
String |
toString() |
@Nonnull public String getName()
getName in interface org.apache.jackrabbit.oak.api.PropertyState@Nonnull public org.apache.jackrabbit.oak.api.Type<?> getType()
getType in interface org.apache.jackrabbit.oak.api.PropertyStatepublic boolean isArray()
isArray in interface org.apache.jackrabbit.oak.api.PropertyStatepublic int count()
count in interface org.apache.jackrabbit.oak.api.PropertyState@Nonnull public <T> T getValue(org.apache.jackrabbit.oak.api.Type<T> type)
getValue in interface org.apache.jackrabbit.oak.api.PropertyStatepublic long size()
size in interface org.apache.jackrabbit.oak.api.PropertyState@Nonnull public <T> T getValue(org.apache.jackrabbit.oak.api.Type<T> type, int index)
getValue in interface org.apache.jackrabbit.oak.api.PropertyStatepublic long size(int index)
size in interface org.apache.jackrabbit.oak.api.PropertyStatepublic boolean equals(Object object)
public int hashCode()
public String toString()
protected Segment getSegment()
protected int getRecordNumber()
public RecordId getRecordId()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.