Class SelectableMappingsImpl
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.SelectableMappingsImpl
-
- All Implemented Interfaces:
SelectableMappings
public class SelectableMappingsImpl extends Object implements SelectableMappings
-
-
Constructor Summary
Constructors Constructor Description SelectableMappingsImpl(SelectableMapping[] selectableMappings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intforEachSelectable(int offset, SelectableConsumer consumer)Visit each contained selectable mapping.static SelectableMappingsfrom(String containingTableExpression, Value value, int[] propertyOrder, @Nullable SelectablePath parentSelectablePath, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)static SelectableMappingsfrom(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)static SelectableMappingsfrom(EmbeddableMappingType embeddableMappingType)intgetJdbcTypeCount()The number of selectablesSelectableMappinggetSelectable(int columnIndex)Get the selectable at the given position-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
forEachSelectable
-
-
-
-
Constructor Detail
-
SelectableMappingsImpl
public SelectableMappingsImpl(SelectableMapping[] selectableMappings)
-
-
Method Detail
-
from
public static SelectableMappings from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)
-
from
public static SelectableMappings from(String containingTableExpression, Value value, int[] propertyOrder, @Nullable SelectablePath parentSelectablePath, Mapping mapping, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext)
-
from
public static SelectableMappings from(EmbeddableMappingType embeddableMappingType)
-
getSelectable
public SelectableMapping getSelectable(int columnIndex)
Description copied from interface:SelectableMappingsGet the selectable at the given position- Specified by:
getSelectablein interfaceSelectableMappings
-
getJdbcTypeCount
public int getJdbcTypeCount()
Description copied from interface:SelectableMappingsThe number of selectables- Specified by:
getJdbcTypeCountin interfaceSelectableMappings
-
forEachSelectable
public int forEachSelectable(int offset, SelectableConsumer consumer)Description copied from interface:SelectableMappingsVisit 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- Specified by:
forEachSelectablein interfaceSelectableMappings- See Also:
SelectableConsumer.accept(int, SelectableMapping)
-
-