public class SerializationContext extends BaseSerializationContext
| Modifier and Type | Class and Description |
|---|---|
static class |
SerializationContext.ProjectionState |
| Modifier and Type | Field and Description |
|---|---|
static SerializationContext.ProjectionState |
DESCENDENT |
static SerializationContext.ProjectionState |
UNRELATED |
| Constructor and Description |
|---|
SerializationContext() |
| Modifier and Type | Method and Description |
|---|---|
org.ojai.FieldPath |
currentPath() |
SerializationContext.ProjectionState |
currentProjectionState() |
int |
getArrayIndex() |
TimeAndUniq |
getBaseTime() |
boolean |
getDecodeTimestamp() |
com.mapr.db.rowcol.ArrayIndexDescriptor.ArrayIndexType |
getIndexType() |
SerializationContext.ProjectionState |
getProjectionState(SerializationContext.ProjectionState parentProjState,
org.ojai.FieldPath path) |
SerializedFamilyInfo[] |
getSerializedBuffers() |
SerializedFamilyInfo[] |
getSerializedBuffers(java.util.Map<org.ojai.FieldPath,java.lang.Integer> jsonPathMap,
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> cachedBufferMap) |
boolean |
hasArrayProjection() |
boolean |
hasDeletes() |
boolean |
hasMutation() |
boolean |
isAbsoluteIndex() |
boolean |
isFullRecordOp() |
KeyValue |
newKeyValue() |
boolean |
preserveDeleteTime() |
void |
serializeFamilies(DBDocumentImpl r,
java.util.Map<org.ojai.FieldPath,java.lang.Integer> jsonPathMap) |
void |
setArrayIndex(int i) |
void |
setBaseTime(long time,
int uniq) |
void |
setBaseTime(TimeAndUniq t) |
void |
setCurrentPath(org.ojai.FieldPath p) |
void |
setCurrentProjectionState(SerializationContext.ProjectionState s) |
void |
setDecodeTimestamp(boolean v) |
void |
setFullRecordOp(boolean v) |
void |
setHasArrayProjection() |
void |
setHasDeletes(boolean v) |
void |
setHasMutation(boolean v) |
void |
setIndexType(com.mapr.db.rowcol.ArrayIndexDescriptor.ArrayIndexType type) |
void |
setPreserveDeleteTime(boolean v) |
void |
setProjectedPaths(java.lang.String[] ps) |
void |
setStoreRowTS(boolean v) |
boolean |
shouldPrunePaths() |
boolean |
storeRowTS() |
getKeyValueSize, getOrderInMap, getTimeDescriptor, getType, isArrayElement, isRoot, setIsArrayElement, setKeyValueSize, setNewRecord, setNumBitsForValue, setOrderInMap, setTimeDescriptor, setTypepublic static SerializationContext.ProjectionState UNRELATED
public static SerializationContext.ProjectionState DESCENDENT
public void setHasDeletes(boolean v)
public boolean hasDeletes()
public void setPreserveDeleteTime(boolean v)
public boolean preserveDeleteTime()
public void setDecodeTimestamp(boolean v)
public boolean getDecodeTimestamp()
public boolean isAbsoluteIndex()
public void setIndexType(com.mapr.db.rowcol.ArrayIndexDescriptor.ArrayIndexType type)
public com.mapr.db.rowcol.ArrayIndexDescriptor.ArrayIndexType getIndexType()
public void setArrayIndex(int i)
public int getArrayIndex()
public SerializedFamilyInfo[] getSerializedBuffers(java.util.Map<org.ojai.FieldPath,java.lang.Integer> jsonPathMap, java.util.Map<java.lang.Integer,java.nio.ByteBuffer> cachedBufferMap)
public void serializeFamilies(DBDocumentImpl r, java.util.Map<org.ojai.FieldPath,java.lang.Integer> jsonPathMap)
public SerializedFamilyInfo[] getSerializedBuffers()
public void setHasArrayProjection()
public boolean hasArrayProjection()
public void setFullRecordOp(boolean v)
public boolean isFullRecordOp()
public void setHasMutation(boolean v)
public boolean hasMutation()
public void setStoreRowTS(boolean v)
public boolean storeRowTS()
public void setBaseTime(long time,
int uniq)
public void setBaseTime(TimeAndUniq t)
public TimeAndUniq getBaseTime()
public KeyValue newKeyValue()
public boolean shouldPrunePaths()
public void setProjectedPaths(java.lang.String[] ps)
public SerializationContext.ProjectionState getProjectionState(SerializationContext.ProjectionState parentProjState, org.ojai.FieldPath path)
public void setCurrentPath(org.ojai.FieldPath p)
public org.ojai.FieldPath currentPath()
public void setCurrentProjectionState(SerializationContext.ProjectionState s)
public SerializationContext.ProjectionState currentProjectionState()