public class Int64Field extends DocsumField
Modifier and Type | Field and Description |
---|---|
(package private) static long |
EMPTY_VALUE |
name
Constructor and Description |
---|
Int64Field(String name) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(com.yahoo.data.access.Inspector value)
Convert a generic value into an object of the appropriate type
for this field.
|
private Object |
convert(long value) |
Object |
decode(ByteBuffer b)
Decode the field at the current buffer position and simply return the
value.
|
Object |
decode(ByteBuffer b,
FastHit hit)
Decode the field at the current buffer position into the fast hit.
|
int |
getLength(ByteBuffer b)
Get the number of bytes this field occupies in the given buffer
AND SET(!) the position to the first byte after this field.
|
String |
toString() |
create, create, getEmulConfig, getName, isCompressed
static final long EMPTY_VALUE
public Int64Field(String name)
private Object convert(long value)
public Object decode(ByteBuffer b)
DocsumField
decode
in class DocsumField
public Object decode(ByteBuffer b, FastHit hit)
DocsumField
decode
in class DocsumField
public int getLength(ByteBuffer b)
DocsumField
getLength
in class DocsumField
public Object convert(com.yahoo.data.access.Inspector value)
DocsumField
convert
in class DocsumField
Copyright © 2017. All rights reserved.