|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.metamodel.relational.Tuple
public class Tuple
Models a compound value (a tuple or row-value-constructor is SQL terms). It is both a Value
and
a ValueContainer
simultaneously.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.hibernate.metamodel.relational.Value |
---|
Value.JdbcCodes |
Constructor Summary | |
---|---|
Tuple(TableSpecification table,
String name)
|
Method Summary | |
---|---|
void |
addValue(SimpleValue value)
|
String |
getLoggableValueQualifier()
Get a qualifier which can be used to qualify values belonging to this container in
their logging. |
TableSpecification |
getTable()
Retrieve the table that owns this value. |
String |
toLoggableString()
Obtain the string representation of this value usable in log statements. |
void |
validateJdbcTypes(Value.JdbcCodes typeCodes)
Validate the value against the incoming JDBC type code array, both in terms of number of types and compatibility of types. |
Iterable<SimpleValue> |
values()
Obtain an iterator over this containers current set of value definitions. |
int |
valuesSpan()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tuple(TableSpecification table, String name)
Method Detail |
---|
public TableSpecification getTable()
Value
getTable
in interface Value
public int valuesSpan()
public Iterable<SimpleValue> values()
ValueContainer
values
in interface ValueContainer
public void addValue(SimpleValue value)
public String getLoggableValueQualifier()
ValueContainer
values
belonging to this container in
their logging.
getLoggableValueQualifier
in interface ValueContainer
public String toLoggableString()
Value
toLoggableString
in interface Loggable
toLoggableString
in interface Value
public void validateJdbcTypes(Value.JdbcCodes typeCodes)
Value
validateJdbcTypes
in interface Value
typeCodes
- The type codes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |