Package com.mapr.kafka.eventstreams.impl
Class StreamsDocument
- java.lang.Object
-
- com.mapr.db.rowcol.KeyValue
-
- com.mapr.db.rowcol.KeyValueWithTS
-
- com.mapr.db.rowcol.DBDocumentImpl
-
- com.mapr.kafka.eventstreams.impl.StreamsDocument
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<java.util.Map.Entry<java.lang.String,org.ojai.Value>>,java.util.Map<java.lang.String,java.lang.Object>,org.ojai.Container,org.ojai.Document,org.ojai.JsonString,org.ojai.Value
public class StreamsDocument extends com.mapr.db.rowcol.DBDocumentImpl
-
-
Field Summary
-
Fields inherited from class com.mapr.db.rowcol.KeyValue
ArrayIndexTypeMask, ArrayIndexTypeShift, IsArrayElementMask, IsArrayElementShift, IsRootMask, IsRootShift, objValue, opType, primValue, type_
-
Fields inherited from interface org.ojai.Value
TAG_BINARY, TAG_BYTE, TAG_DATE, TAG_DECIMAL, TAG_FLOAT, TAG_INT, TAG_INTERVAL, TAG_LONG, TAG_SHORT, TAG_TIME, TAG_TIMESTAMP, TYPE_CODE_ARRAY, TYPE_CODE_BINARY, TYPE_CODE_BOOLEAN, TYPE_CODE_BYTE, TYPE_CODE_DATE, TYPE_CODE_DECIMAL, TYPE_CODE_DOUBLE, TYPE_CODE_FLOAT, TYPE_CODE_INT, TYPE_CODE_INTERVAL, TYPE_CODE_LONG, TYPE_CODE_MAP, TYPE_CODE_NULL, TYPE_CODE_SHORT, TYPE_CODE_STRING, TYPE_CODE_TIME, TYPE_CODE_TIMESTAMP
-
-
Constructor Summary
Constructors Constructor Description StreamsDocument(java.lang.String rowIdStr, int rowPartition, java.lang.String rowTopic, long rowOffset, java.lang.String producer, org.ojai.Document rowMsgDoc, int indexInRow, java.util.List<java.lang.Integer> projectedPathIds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.Integer>getProjectionIdList(java.util.List<org.ojai.FieldPath> ps)intsize()-
Methods inherited from class com.mapr.db.rowcol.DBDocumentImpl
asJsonString, asJsonString, asMap, asReader, asReader, asReader, clear, containsKey, containsValue, delete, delete, deserializeFromRowCol, empty, entrySet, equals, get, getBinary, getBinary, getBoolean, getBoolean, getBooleanObj, getBooleanObj, getByte, getByte, getByteObj, getByteObj, getCachedBuffers, getControlInfo, getControlInfo, getDate, getDate, getDecimal, getDecimal, getDOMFromCachedBuffer, getDouble, getDouble, getDoubleObj, getDoubleObj, getFloat, getFloat, getFloatObj, getFloatObj, getId, getIdAsString, getIdBinary, getIdString, getIndex, getInt, getInt, getInterval, getInterval, getIntObj, getIntObj, getJsonPathMap, getKeyValue, getKeyValue, getList, getList, getLong, getLong, getLongObj, getLongObj, getMap, getMap, getNeedDOMStruct, getShort, getShort, getShortObj, getShortObj, getString, getString, getStringWithTs, getTime, getTime, getTimestamp, getTimestamp, getUniqueValues, getValue, getValue, hashCode, insertKeyValue, isEmpty, isReadOnly, iterator, keySet, put, putAll, remove, serializeToRowCol, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setArray, setCachedBuffer, setId, setId, setId, setId, setMapOnDemand, setNull, setNull, setRecursiveNonDefaultColumnFamily, setSerializedJson, setSerializedJson, shallowCopy, toJavaBean, toString, toStringWithTimestamp, values
-
Methods inherited from class com.mapr.db.rowcol.KeyValueWithTS
clone, equals, updateChecksumKeyValue, updateChecksumPrimaryType
-
Methods inherited from class com.mapr.db.rowcol.KeyValue
checkType, getArrayIndexType, getBinary, getBoolean, getByte, getCFRootId, getDate, getDateAsInt, getDecimal, getDouble, getFloat, getInt, getInterval, getIntervalAsLong, getList, getLong, getMap, getObject, getOpType, getOrderOfField, getPrimValue, getRecord, getShort, getString, getTime, getTimeAsInt, getTimeDescriptor, getTimestamp, getTimestampAsLong, getType, isArrayElement, isContainerType, isPartOfNonDefaultColumnFamily, isRoot, isRootOfColumnFamily, setArrayIndex, setArrayIndexType, setCFRootId, setIsArrayElement, setIsRoot, setObjValue, setOpTypeAndFlags, setOrderOfField, setPartOfNonDefaultColumnFamily, setPrimValue, setRootFlags, setRootOfColumnFamily, toString, valueToString
-
-
-
-
Method Detail
-
getProjectionIdList
public static java.util.List<java.lang.Integer> getProjectionIdList(java.util.List<org.ojai.FieldPath> ps)
-
size
public int size()
- Specified by:
sizein interfaceorg.ojai.Container- Specified by:
sizein interfaceorg.ojai.Document- Specified by:
sizein interfacejava.util.Map<java.lang.String,java.lang.Object>- Overrides:
sizein classcom.mapr.db.rowcol.DBDocumentImpl
-
-