K
- type of the column key or namepublic final class ByteArrayColumn<K extends Serializable & Comparable<K>> extends Column<K,byte[]>
Modifier and Type | Class and Description |
---|---|
static class |
ByteArrayColumn.ByteArrayColumnDecoder<K extends Serializable & Comparable<K>>
Byte array column decoder.
|
serializer
Constructor and Description |
---|
ByteArrayColumn(ColumnName<K,byte[]> name)
Creates a byte array column with no value.
|
ByteArrayColumn(ColumnName<K,byte[]> name,
byte[] value)
Creates a byte array column.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ColumnVisitor<K> visitor)
Calls a visit method of the visitor, this class object passes itself as
an argument to the visit method this class object.
|
int |
compareTo(Column<K,byte[]> o2) |
public ByteArrayColumn(ColumnName<K,byte[]> name)
name
- column's namepublic ByteArrayColumn(ColumnName<K,byte[]> name, byte[] value)
name
- column's namevalue
- column's valuepublic int compareTo(Column<K,byte[]> o2)
compareTo
in class Column<K extends Serializable & Comparable<K>,byte[]>
public void accept(ColumnVisitor<K> visitor)
visitor
- ColumnVisitorCopyright © 2015. All Rights Reserved.