Class RDBRow
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.rdb.RDBRow
-
public class RDBRow extends java.lang.Object
Container for the information in a RDB database column.Note that the String "data" and the byte[] "bdata" may be
null
when the SQL SELECT request was conditional on "modcount" being unchanged.
-
-
Field Summary
Fields Modifier and Type Field Description static long
LONG_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.Boolean
deletedOnce()
@org.jetbrains.annotations.Nullable byte[]
getBdata()
long
getCollisionsModcount()
@Nullable java.lang.String
getData()
@NotNull java.lang.String
getId()
long
getModcount()
long
getModified()
long
getSchemaVersion()
long
getSdMaxRevTime()
long
getSdType()
@Nullable java.lang.Long
hasBinaryProperties()
-
-
-
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_UNSET
when not set in the database
-
getModcount
public long getModcount()
- Returns:
LONG_UNSET
when not set in the database
-
getCollisionsModcount
public long getCollisionsModcount()
- Returns:
LONG_UNSET
when not set in the database
-
getSchemaVersion
public long getSchemaVersion()
- Returns:
LONG_UNSET
when not set in the database
-
getSdType
public long getSdType()
- Returns:
LONG_UNSET
when not set in the database
-
getSdMaxRevTime
public long getSdMaxRevTime()
- Returns:
LONG_UNSET
when not set in the database
-
getBdata
@Nullable public @org.jetbrains.annotations.Nullable byte[] getBdata()
-
-