- 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 classAbstract superclass of signed primitiveshortadapters.static classAbstract superclass of unsigned primitiveshortadapters.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.Opaque, 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> shortfetch(Datum.Accessor<B, ?> acc, B buffer, int offset, Attribute a) Method invoked internally when thisAdapteris used to fetch a value; not intended for use in application code.shortDetermines the mapping of SQL null.Methods inherited from class org.postgresql.pljava.Adapter.Primitive
canFetchNullMethods inherited from class org.postgresql.pljava.Adapter
canFetch, canFetch, configure, topType, topType, toString, underTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.postgresql.pljava.Adapter.ArrayProto
a1, a2, a4Methods 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 thisAdapteris 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
SQLDataExceptionwithSQLSTATE 22002,null_value_no_indicator_parameter.
-