public class VPackSlice extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static VPackAttributeTranslator |
attributeTranslator |
Modifier | Constructor and Description |
---|---|
protected |
VPackSlice() |
|
VPackSlice(byte[] vpack) |
|
VPackSlice(byte[] vpack,
int start) |
Modifier and Type | Method and Description |
---|---|
Iterator<VPackSlice> |
arrayIterator() |
boolean |
equals(Object obj) |
protected int |
findDataOffset()
Must be called for a nonempty array or object at start():
|
VPackSlice |
get(int index) |
VPackSlice |
get(String attribute) |
BigDecimal |
getAsBigDecimal() |
BigInteger |
getAsBigInteger() |
byte[] |
getAsBinary() |
boolean |
getAsBoolean() |
char |
getAsChar() |
Date |
getAsDate() |
double |
getAsDouble() |
float |
getAsFloat() |
int |
getAsInt() |
long |
getAsLong() |
Number |
getAsNumber() |
short |
getAsShort() |
Date |
getAsSQLDate() |
Timestamp |
getAsSQLTimestamp() |
String |
getAsString() |
int |
getBinaryLength() |
byte[] |
getBuffer() |
int |
getByteSize() |
int |
getLength() |
protected byte[] |
getRawVPack() |
int |
getStart() |
int |
hashCode() |
byte |
head() |
boolean |
isArray() |
boolean |
isBCD() |
boolean |
isBinary() |
boolean |
isBoolean() |
boolean |
isCustom() |
boolean |
isDate() |
boolean |
isDouble() |
boolean |
isExternal() |
boolean |
isFalse() |
boolean |
isIllegal() |
boolean |
isInt() |
boolean |
isInteger() |
boolean |
isMaxKey() |
boolean |
isMinKey() |
boolean |
isNone() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isObject() |
boolean |
isSmallInt() |
boolean |
isString() |
boolean |
isTrue() |
boolean |
isUInt() |
VPackSlice |
keyAt(int index) |
protected VPackSlice |
makeKey() |
Iterator<Map.Entry<String,VPackSlice>> |
objectIterator() |
int |
size() |
String |
toString() |
protected VPackSlice |
translateUnchecked()
translates an integer key into a string, without checks
|
protected ValueType |
type() |
VPackSlice |
valueAt(int index) |
public static final VPackAttributeTranslator attributeTranslator
protected VPackSlice()
public VPackSlice(byte[] vpack)
public VPackSlice(byte[] vpack, int start)
public byte head()
public byte[] getBuffer()
public int getStart()
protected ValueType type()
public boolean isNone()
public boolean isNull()
public boolean isIllegal()
public boolean isBoolean()
public boolean isTrue()
public boolean isFalse()
public boolean isArray()
public boolean isObject()
public boolean isDouble()
public boolean isDate()
public boolean isExternal()
public boolean isMinKey()
public boolean isMaxKey()
public boolean isInt()
public boolean isUInt()
public boolean isSmallInt()
public boolean isInteger()
public boolean isNumber()
public boolean isString()
public boolean isBinary()
public boolean isBCD()
public boolean isCustom()
public boolean getAsBoolean()
public double getAsDouble()
public BigDecimal getAsBigDecimal()
public Number getAsNumber()
public long getAsLong()
public int getAsInt()
public float getAsFloat()
public short getAsShort()
public BigInteger getAsBigInteger()
public Date getAsDate()
public Date getAsSQLDate()
public Timestamp getAsSQLTimestamp()
public String getAsString()
public char getAsChar()
public byte[] getAsBinary()
public int getBinaryLength()
public int getLength()
public int size()
protected int findDataOffset()
public int getByteSize()
public VPackSlice get(int index)
VPackValueTypeException
public VPackSlice get(String attribute) throws VPackException
VPackException
protected VPackSlice translateUnchecked()
protected VPackSlice makeKey() throws VPackKeyTypeException, VPackNeedAttributeTranslatorException
public VPackSlice keyAt(int index)
public VPackSlice valueAt(int index)
public Iterator<VPackSlice> arrayIterator()
public Iterator<Map.Entry<String,VPackSlice>> objectIterator()
protected byte[] getRawVPack()
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.