Top Fields Constructors Methods
org.hibernate.metamodel.mapping.internal

public Class SelectableMappingsImpl

extends Object
implements SelectableMappings
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.mapping.SelectableMappings
Imports
java.util.ArrayList, .List, org.hibernate.dialect.Dialect, org.hibernate.engine.spi.Mapping, org.hibernate.internal.util.collections.CollectionHelper, org.hibernate.mapping.Selectable, .Value, org.hibernate.metamodel.mapping.EmbeddableMappingType, .JdbcMapping, .SelectableConsumer, .SelectableMapping, .SelectableMappings, org.hibernate.metamodel.spi.RuntimeModelCreationContext, org.hibernate.query.sqm.function.SqmFunctionRegistry, org.hibernate.type.CompositeType, .EntityType, .Type, org.hibernate.type.spi.TypeConfiguration

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final SelectableMapping[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
forEachSelectable(final int offset, final SelectableConsumer consumer)

Implements org.hibernate.metamodel.mapping.SelectableMappings.forEachSelectable.

Visit each contained selectable mapping.
public static SelectableMappings
from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of Mapping and RuntimeModelCreationContext being deprecated.
private static SelectableMappings
from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of Mapping and RuntimeModelCreationContext being deprecated.
public static SelectableMappings
from(EmbeddableMappingType embeddableMappingType)

public int
public SelectableMapping
getSelectable(int columnIndex)

Implements org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Get the selectable at the given position
private static void
resolveJdbcMappings(List<JdbcMapping> jdbcMappings, Mapping mapping, Type valueType)

Deprecated as a consequence of Mapping being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

selectableMappingsback to summary
private final SelectableMapping[] selectableMappings

Constructor Detail

SelectableMappingsImplback to summary
public SelectableMappingsImpl(SelectableMapping[] selectableMappings)

Method Detail

forEachSelectableback to summary
public int forEachSelectable(final int offset, final SelectableConsumer consumer)

Implements org.hibernate.metamodel.mapping.SelectableMappings.forEachSelectable.

Doc from org.hibernate.metamodel.mapping.SelectableMappings.forEachSelectable.

Visit each contained selectable mapping. As the selectables are iterated, we call `SelectionConsumer` passing along `offset` + our current iteration index. The return is the number of selectables we directly contain

Annotations
@Override
fromback to summary
public static SelectableMappings from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of Mapping and RuntimeModelCreationContext being deprecated. See corresponding docs for further information.

fromback to summary
private static SelectableMappings from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of Mapping and RuntimeModelCreationContext being deprecated. See corresponding docs for further information.

fromback to summary
public static SelectableMappings from(EmbeddableMappingType embeddableMappingType)
getJdbcTypeCountback to summary
public int getJdbcTypeCount()

Implements org.hibernate.metamodel.mapping.SelectableMappings.getJdbcTypeCount.

Doc from org.hibernate.metamodel.mapping.SelectableMappings.getJdbcTypeCount.

The number of selectables

Annotations
@Override
getSelectableback to summary
public SelectableMapping getSelectable(int columnIndex)

Implements org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Doc from org.hibernate.metamodel.mapping.SelectableMappings.getSelectable.

Get the selectable at the given position

Annotations
@Override
resolveJdbcMappingsback to summary
private static void resolveJdbcMappings(List<JdbcMapping> jdbcMappings, Mapping mapping, Type valueType)

Deprecated

as a consequence of Mapping being deprecated. See corresponding docs for further information.