Package org.hibernate.sql.model.ast
Class ColumnValueBindingList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ColumnValueBinding>
-
- org.hibernate.sql.model.ast.ColumnValueBindingList
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ColumnValueBinding>
,Collection<ColumnValueBinding>
,List<ColumnValueBinding>
,RandomAccess
,ModelPart.JdbcValueBiConsumer<Object,Object>
,ModelPart.JdbcValueConsumer
@Internal public class ColumnValueBindingList extends ArrayList<ColumnValueBinding> implements ModelPart.JdbcValueConsumer
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ColumnValueBindingList(MutatingTableReference mutatingTable, ColumnValueParameterList parameters, ParameterUsage parameterUsage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNullRestriction(SelectableMapping column)
void
addRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Object
clone()
void
consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping)
Consume a JDBC-level jdbcValue.boolean
containsColumn(String columnName, JdbcMapping jdbcMapping)
protected ColumnValueBinding
createValueBinding(String columnName, String customWriteExpression, JdbcMapping jdbcMapping)
String
toString()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart.JdbcValueConsumer
consume
-
-
-
-
Constructor Detail
-
ColumnValueBindingList
public ColumnValueBindingList(MutatingTableReference mutatingTable, ColumnValueParameterList parameters, ParameterUsage parameterUsage)
-
-
Method Detail
-
clone
public Object clone()
- Overrides:
clone
in classArrayList<ColumnValueBinding>
-
consume
public void consume(int valueIndex, Object value, SelectableMapping jdbcValueMapping)
Description copied from interface:ModelPart.JdbcValueConsumer
Consume a JDBC-level jdbcValue. The JDBC jdbcMapping descriptor is also passed in- Specified by:
consume
in interfaceModelPart.JdbcValueConsumer
-
addNullRestriction
public void addNullRestriction(SelectableMapping column)
-
addRestriction
public void addRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
-
createValueBinding
protected ColumnValueBinding createValueBinding(String columnName, String customWriteExpression, JdbcMapping jdbcMapping)
-
containsColumn
public boolean containsColumn(String columnName, JdbcMapping jdbcMapping)
-
toString
public String toString()
- Overrides:
toString
in classAbstractCollection<ColumnValueBinding>
-
-