Interface UDT<R extends UDTRecord<R>>
- Type Parameters:
R- The record type
- All Superinterfaces:
Fields, Named, Qualified, QueryPart, RecordQualifier<R>, Serializable
- All Known Implementing Classes:
UDTImpl
UDT definition.
Instances of this type cannot be created directly. They are available from generated code.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionCreate a constructor call for UDTs.Get the subtypes of thisUDTor an empty list, if there are no known subtypes.@Nullable UDT<?> Get the supertype of thisUDT, ornullif this type has no supertype.booleanisAssignableFrom(UDT<?> other) Check if this type is a supertype or the same type as anotherUDTtype.booleanWhether this data type can be used from SQL statements.booleanWhether this data type is a synthetic, structural UDT type.Methods inherited from interface Fields
dataType, dataType, dataType, dataTypes, field, field, field, field, field, field, field, field, field, field, fields, fields, fields, fields, fields, fieldsIncludingHidden, fieldsRow, fieldStream, indexOf, indexOf, indexOf, type, type, type, typesMethods inherited from interface Named
$name, getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedNameMethods inherited from interface Qualified
$schema, getCatalog, getSchemaMethods inherited from interface QueryPart
$replace, $replace, $traverse, $traverse, equals, hashCode, toStringMethods inherited from interface RecordQualifier
getDataType, getPackage, getRecordType, newRecord
-
Method Details
-
isSQLUsable
boolean isSQLUsable()Whether this data type can be used from SQL statements. -
isSynthetic
boolean isSynthetic()Whether this data type is a synthetic, structural UDT type.This is
truefor example:- For Oracle
TAB%ROWTYPEreferences, which are synthetic PL/SQL RECORD types in PL/SQL.
- For Oracle
-
getSupertype
-
getSubtypes
-
isAssignableFrom
-
construct
@Support({AURORA_POSTGRES,COCKROACHDB,DUCKDB,INFORMIX,ORACLE,POSTGRES,YUGABYTEDB}) @NotNull @NotNull Field<R> construct(Field<?>... args) Create a constructor call for UDTs.
-