59606162636465
public short asInt2() { throw new InvalidCastException(type + " cannot be casted to SHORT type"); } public int asInt4() { throw new InvalidCastException(type + " cannot be casted to INT type"); }
63646566676869
public int asInt4() { throw new InvalidCastException(type + " cannot be casted to INT type"); } public long asInt8() { throw new InvalidCastException(type + " cannot be casted to LONG type"); }
67686970717273
public long asInt8() { throw new InvalidCastException(type + " cannot be casted to LONG type"); } public byte [] asByteArray() { throw new InvalidCastException(type + " cannot be casted to BYTES type"); }
71727374757677
public byte [] asByteArray() { throw new InvalidCastException(type + " cannot be casted to BYTES type"); } public float asFloat4() { throw new InvalidCastException(type + " cannot be casted to FLOAT type"); }
75767778798081
public float asFloat4() { throw new InvalidCastException(type + " cannot be casted to FLOAT type"); } public double asFloat8() { throw new InvalidCastException(type + " cannot be casted to DOUBLE type"); }
79808182838485
public double asFloat8() { throw new InvalidCastException(type + " cannot be casted to DOUBLE type"); } public String asChars() { throw new InvalidCastException(type + " cannot be casted to STRING type"); }
46474849505152
val = bb.getLong(); } @Override public boolean asBool() { throw new InvalidCastException(); }
return val; } @Override public byte asByte() { throw new InvalidCastException(); }
44454647484950
ByteBuffer bb = ByteBuffer.wrap(bytes); this.val = bb.getFloat(); } public boolean asBool() { throw new InvalidCastException(); }
69707172737475
return (long) val; } @Override public byte asByte() { throw new InvalidCastException(); }