Top Description Methods
org.jooq

public Interface Typed<T>

extends QueryPart
Known Direct Subinterfaces
org.jooq.Parameter, org.jooq.Domain, org.jooq.impl.TypedReference, org.jooq.SelectField, org.jooq.Sequence
Known Direct Implementers
org.jooq.impl.AbstractTypedNamed
Imports
org.jooq.impl.QOM, org.jetbrains.annotations.NotNull, .ApiStatus.Experimental

A marker interface for all query parts that have a DataType.

While there is no requirement for implementations to also implement Named, a lot of implementations do.

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull DataType<T>
$dataType()

Experimental query object model accessor method, see also QOM.

public @NotNull Binding<?, T>
getBinding()

The object's underlying Binding.

public @NotNull ContextConverter<?, T>
getConverter()

The object's underlying Converter.

public @NotNull DataType<T>
getDataType()

The type of this object (might not be dialect-specific).

public @NotNull DataType<T>
getDataType(Configuration configuration)

The dialect-specific type of this object.

public @NotNull Class<T>
getType()

The Java type of the object.

Inherited from org.jooq.QueryPart:
equalshashCodetoString

Method Detail

$dataTypeback to summary
public @NotNull DataType<T> $dataType()

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Experimental
@NotNull
getBindingback to summary
public @NotNull Binding<?, T> getBinding()

The object's underlying Binding.

Annotations
@NotNull
getConverterback to summary
public @NotNull ContextConverter<?, T> getConverter()

The object's underlying Converter.

By default, all typed objects reference an identity-converter Converter<T, T>. If an implementation is generated, custom data types may be obtained by a custom Converter placed on the generated object.

Annotations
@NotNull
getDataTypeback to summary
public @NotNull DataType<T> getDataType()

The type of this object (might not be dialect-specific).

Annotations
@NotNull
getDataTypeback to summary
public @NotNull DataType<T> getDataType(Configuration configuration)

The dialect-specific type of this object.

Annotations
@NotNull
getTypeback to summary
public @NotNull Class<T> getType()

The Java type of the object.

Annotations
@NotNull