@Test public final void testAsInt8() { Datum d = DatumFactory.createText("12345"); assertEquals(12345l,d.asInt8()); }
@Override public long asInt8() { return Long.parseLong(new String(bytes)); }
TextDatum extends Datum { @Override public long asInt8() { return Long.parseLong(new String(bytes)); } }
TextDatum extends Datum { @Override public long asInt8() { return Long.parseLong(new String(bytes)); } TextDatum(byte[] bytes);  TextDatum(String string); }
TextDatum extends Datum { @Override public long asInt8() { return Long.parseLong(new String(bytes)); } TextDatum(byte[] bytes);  TextDatum(String string); @Override boolean asBool(); @Override byte asByte(); @Override short asInt2(); @Override int asInt4(); @Override long asInt8(); @Override float asFloat4(); @Override double asFloat8(); @Override byte[] asByteArray(); @Override String asChars(); @Override char[] asUnicodeChars(); @Override byte[] asTextBytes(); @Override int size(); @Override int compareTo(Datum datum); @Override boolean equals(Object obj); @Override Datum equalsTo(Datum datum); @Override int hashCode(); @Override String toString(); }
TextDatum extends Datum { @Override public long asInt8() { return Long.parseLong(new String(bytes)); } TextDatum(byte[] bytes);  TextDatum(String string); @Override boolean asBool(); @Override byte asByte(); @Override short asInt2(); @Override int asInt4(); @Override long asInt8(); @Override float asFloat4(); @Override double asFloat8(); @Override byte[] asByteArray(); @Override String asChars(); @Override char[] asUnicodeChars(); @Override byte[] asTextBytes(); @Override int size(); @Override int compareTo(Datum datum); @Override boolean equals(Object obj); @Override Datum equalsTo(Datum datum); @Override int hashCode(); @Override String toString(); static final Charset DEFAULT_CHARSET; static final int UNICODE_CHAR_BITS_NUM; static final TextDatum EMPTY_TEXT; static final Comparator<byte[]> COMPARATOR; }