- All Implemented Interfaces:
Adapter.ArrayProto<byte[]>
,TwosComplement
,SlotTester.Visible
- Direct Known Subclasses:
Adapter.AsByte.Signed
,Adapter.AsByte.Unsigned
public abstract static class Adapter.AsByte<U>
extends Adapter.Primitive<Byte,U,byte[]>
implements TwosComplement
Abstract superclass of signed and unsigned primitive
byte
adapters.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Abstract superclass of signed primitivebyte
adapters.static class
Abstract superclass of unsigned primitivebyte
adapters.Nested classes/interfaces inherited from class org.postgresql.pljava.Adapter
Adapter.AdapterException, Adapter.Array<T>, Adapter.ArrayBuilder<TA,
TI>, Adapter.ArrayProto<TA>, Adapter.As<T, U>, Adapter.AsBoolean<U>, Adapter.AsByte<U>, Adapter.AsChar<U>, Adapter.AsDouble<U>, Adapter.AsFloat<U>, Adapter.AsInt<U>, Adapter.AsLong<U>, Adapter.AsShort<U>, Adapter.Configuration, Adapter.Container, Adapter.Contract<T>, Adapter.Dispenser<T, U extends Adapter.Contract<T>>, Adapter.Permission, Adapter.Primitive<T, U, TA>, Adapter.PullDispenser<T, U extends Adapter.Contract<T>>, Adapter.Service, Adapter.Via -
Method Summary
Modifier and TypeMethodDescriptionfinal <B> byte
fetch
(Datum.Accessor<B, ?> acc, B buffer, int offset, Attribute a) Method invoked internally when thisAdapter
is used to fetch a value; not intended for use in application code.byte
Determines the mapping of SQL null.Methods inherited from class org.postgresql.pljava.Adapter.Primitive
canFetchNull
Methods inherited from class org.postgresql.pljava.Adapter
canFetch, canFetch, configure, topType, topType, toString, underType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.postgresql.pljava.Adapter.ArrayProto
a1, a2, a4
Methods inherited from interface org.postgresql.pljava.adt.spi.TwosComplement
compare, compare, compare, compare, deparse, deparse, deparse, deparse, deparse, deparse, deparse, deparse, divide, divide, divide, divide, parseByte, parseByte, parseByte, parseInt, parseInt, parseInt, parseLong, parseLong, parseLong, parseShort, parseShort, parseShort, remainder, remainder, remainder, remainder, toInt, toInt, toLong, toLong, toLong, toShort, unsigned
-
Method Details
-
fetch
Method invoked internally when thisAdapter
is used to fetch a value; not intended for use in application code. -
fetchNull
Determines the mapping of SQL null.If not overridden, this implementation throws an
SQLDataException
withSQLSTATE 22002
,null_value_no_indicator_parameter
.
-