Class RDBRow
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.rdb.RDBRow
-
public class RDBRow extends java.lang.ObjectContainer for the information in a RDB database column.Note that the String "data" and the byte[] "bdata" may be
nullwhen the SQL SELECT request was conditional on "modcount" being unchanged.
-
-
Field Summary
Fields Modifier and Type Field Description static longLONG_UNSET
-
Constructor Summary
Constructors Constructor Description RDBRow(java.lang.String id, java.lang.Long hasBinaryProperties, java.lang.Boolean deletedOnce, java.lang.Long modified, java.lang.Long modcount, java.lang.Long cmodcount, java.lang.Long schemaVersion, java.lang.Long sdType, java.lang.Long sdMaxRevTime, java.lang.String data, byte[] bdata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.BooleandeletedOnce()@org.jetbrains.annotations.Nullable byte[]getBdata()longgetCollisionsModcount()@Nullable java.lang.StringgetData()@NotNull java.lang.StringgetId()longgetModcount()longgetModified()longgetSchemaVersion()longgetSdMaxRevTime()longgetSdType()@Nullable java.lang.LonghasBinaryProperties()
-
-
-
Field Detail
-
LONG_UNSET
public static final long LONG_UNSET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RDBRow
public RDBRow(java.lang.String id, java.lang.Long hasBinaryProperties, java.lang.Boolean deletedOnce, java.lang.Long modified, java.lang.Long modcount, java.lang.Long cmodcount, java.lang.Long schemaVersion, java.lang.Long sdType, java.lang.Long sdMaxRevTime, java.lang.String data, byte[] bdata)
-
-
Method Detail
-
getId
@NotNull public @NotNull java.lang.String getId()
-
hasBinaryProperties
@Nullable public @Nullable java.lang.Long hasBinaryProperties()
-
deletedOnce
@Nullable public @Nullable java.lang.Boolean deletedOnce()
-
getData
@Nullable public @Nullable java.lang.String getData()
-
getModified
public long getModified()
- Returns:
LONG_UNSETwhen not set in the database
-
getModcount
public long getModcount()
- Returns:
LONG_UNSETwhen not set in the database
-
getCollisionsModcount
public long getCollisionsModcount()
- Returns:
LONG_UNSETwhen not set in the database
-
getSchemaVersion
public long getSchemaVersion()
- Returns:
LONG_UNSETwhen not set in the database
-
getSdType
public long getSdType()
- Returns:
LONG_UNSETwhen not set in the database
-
getSdMaxRevTime
public long getSdMaxRevTime()
- Returns:
LONG_UNSETwhen not set in the database
-
getBdata
@Nullable public @org.jetbrains.annotations.Nullable byte[] getBdata()
-
-