public class KeyedSchema extends java.lang.Object implements TupleSchema
Constructor and Description |
---|
KeyedSchema() |
KeyedSchema(MessageType keyType,
MessageType dataType) |
KeyedSchema(MessageType dType,
MessageType kType,
int keySize,
int dataSize) |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize() |
MessageType |
getDataType() |
int |
getKeySize() |
MessageType |
getKeyType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTotalSize, isLengthsSpecified
public KeyedSchema()
public KeyedSchema(MessageType keyType, MessageType dataType)
public KeyedSchema(MessageType dType, MessageType kType, int keySize, int dataSize)
public MessageType getDataType()
getDataType
in interface Schema
public int getDataSize()
getDataSize
in interface Schema
public MessageType getKeyType()
getKeyType
in interface TupleSchema
public int getKeySize()
getKeySize
in interface TupleSchema