Package org.postgresql.pljava.pg.adt
Class OidAdapter<T extends CatalogObject>
java.lang.Object
org.postgresql.pljava.Adapter<T,Void>
org.postgresql.pljava.Adapter.As<T,Void>
org.postgresql.pljava.pg.adt.OidAdapter<T>
- All Implemented Interfaces:
Adapter.ArrayProto<T[]>
,SlotTester.Visible
- Direct Known Subclasses:
OidAdapter.Addressed
,OidAdapter.Procedure
PostgreSQL
oid
type represented as
CatalogObject
or one of its Addressed
subtypes.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
OidAdapter.Addressed<T extends CatalogObject.Addressed<T>>
Adapter for theoid
type, able to return most of theCatalogObject.Addressed
subinterfaces.static class
Adapter for theoid
type, returned as a primitiveint
.static class
A distinct adapter class is needed here because the parameterizedRegProcedure<?>
type can't be indicated with a class literal argument toAddressed
.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.TypeWrapper, Adapter.Via -
Field Summary
Modifier and TypeFieldDescriptionstatic final OidAdapter.Addressed
<Database> static final OidAdapter.Addressed
<Extension> static final OidAdapter
<CatalogObject> static final OidAdapter.Int4
static final OidAdapter.Addressed
<ProceduralLanguage> static final OidAdapter.Addressed
<RegClass> static final OidAdapter.Addressed
<RegCollation> static final OidAdapter.Addressed
<RegConfig> static final OidAdapter.Addressed
<RegDictionary> static final OidAdapter.Addressed
<RegNamespace> static final OidAdapter.Addressed
<RegOperator> static final OidAdapter.Procedure
static final OidAdapter.Addressed
<RegRole> static final OidAdapter.Addressed
<RegType> -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class org.postgresql.pljava.Adapter.As
arrayOf, canFetchNull, fetch, fetchNull
Methods inherited from class org.postgresql.pljava.Adapter
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
-
Field Details
-
INSTANCE
-
INT4_INSTANCE
-
REGCLASS_INSTANCE
-
REGCOLLATION_INSTANCE
-
REGCONFIG_INSTANCE
-
REGDICTIONARY_INSTANCE
-
REGNAMESPACE_INSTANCE
-
REGOPERATOR_INSTANCE
-
REGPROCEDURE_INSTANCE
-
REGROLE_INSTANCE
-
REGTYPE_INSTANCE
-
DATABASE_INSTANCE
-
EXTENSION_INSTANCE
-
PLANG_INSTANCE
-
-
Method Details
-
canFetch
- Overrides:
canFetch
in classAdapter<T extends CatalogObject,
Void>
-
fetch
-