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 int
forEachSelectable(int offset, SelectableConsumer consumer)
Visit each contained selectable mapping.static SelectableMappings
from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
static SelectableMappings
from(EmbeddableMappingType embeddableMappingType)
int
getJdbcTypeCount()
The number of selectablesSelectableMapping
getSelectable(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, getJdbcMappings
-
-
-
-
Constructor Detail
-
SelectableMappingsImpl
public SelectableMappingsImpl(SelectableMapping[] selectableMappings)
-
-
Method Detail
-
from
public static SelectableMappings from(String containingTableExpression, Value value, int[] propertyOrder, Mapping mapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
-
from
public static SelectableMappings from(EmbeddableMappingType embeddableMappingType)
-
getSelectable
public SelectableMapping getSelectable(int columnIndex)
Description copied from interface:SelectableMappings
Get the selectable at the given position- Specified by:
getSelectable
in interfaceSelectableMappings
-
getJdbcTypeCount
public int getJdbcTypeCount()
Description copied from interface:SelectableMappings
The number of selectables- Specified by:
getJdbcTypeCount
in interfaceSelectableMappings
-
forEachSelectable
public int forEachSelectable(int offset, SelectableConsumer consumer)
Description copied from interface:SelectableMappings
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- Specified by:
forEachSelectable
in interfaceSelectableMappings
- See Also:
SelectableConsumer.accept(int, SelectableMapping)
-
-