public class VPackSlice extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static VPackAttributeTranslator |
attributeTranslator |
static VPackSlice |
NONE_SLICE |
| Modifier | Constructor and Description |
|---|---|
protected |
VPackSlice() |
|
VPackSlice(byte[] vpack) |
|
VPackSlice(byte[] vpack,
int start) |
public static final VPackSlice NONE_SLICE
public static final VPackAttributeTranslator attributeTranslator
protected VPackSlice()
public VPackSlice(byte[] vpack)
public VPackSlice(byte[] vpack,
int start)
public byte head()
public byte[] getBuffer()
public byte[] toByteArray()
public int getStart()
public int getValueStart()
public VPackSlice value()
public ValueType getType()
public boolean isType(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 isByte()
public boolean isNumber()
public boolean isString()
public boolean isBinary()
public boolean isBCD()
public boolean isCustom()
public boolean isTagged()
public long getFirstTag()
public boolean hasTag(long tagId)
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 byte getAsByte()
public BigInteger getAsBigInteger()
public Date getAsDate()
public Date getAsSQLDate()
public Timestamp getAsSQLTimestamp()
public String getAsString()
public VPackStringSlice getAsStringSlice()
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)
VPackValueTypeExceptionpublic VPackSlice get(String attribute) throws VPackException
VPackExceptionprotected VPackSlice translateUnchecked()
protected VPackSlice makeKey() throws VPackKeyTypeException, VPackNeedAttributeTranslatorException
public VPackSlice keyAt(int index)
public VPackSlice valueAt(int index)
public VPackSlice getNth(int index)
public Iterator<VPackSlice> arrayIterator()
public Iterator<Map.Entry<String,VPackSlice>> objectIterator()
public String getSchemaDescription()
Copyright © 2017–2021 ArangoDB GmbH. All rights reserved.