|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Valuepublic int valuesSpan()
public Iterable<SimpleValue> values()
ValueContainer
values in interface ValueContainerpublic void addValue(SimpleValue value)
public String getLoggableValueQualifier()
ValueContainervalues belonging to this container in
their logging.
getLoggableValueQualifier in interface ValueContainerpublic String toLoggableString()
Value
toLoggableString in interface LoggabletoLoggableString in interface Valuepublic void validateJdbcTypes(Value.JdbcCodes typeCodes)
Value
validateJdbcTypes in interface ValuetypeCodes - The type codes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||