- All Implemented Interfaces:
Adapter.ArrayProto<short[]>
,TwosComplement
,SlotTester.Visible
- Direct Known Subclasses:
Adapter.AsShort.Signed
,Adapter.AsShort.Unsigned
public abstract static class Adapter.AsShort<U>
extends Adapter.Primitive<Short,U,short[]>
implements TwosComplement
Abstract superclass of signed and unsigned primitive
short
adapters.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Abstract superclass of signed primitiveshort
adapters.static class
Abstract superclass of unsigned primitiveshort
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> short
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.short
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
.
-