|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saffron.rel.TypeFactoryImpl.TypeImpl | +--saffron.rel.TypeFactoryImpl.CrossType
Type of the cartesian product of two or more sets of records.
Its fields are those of its constituent records, but unlike a
TypeFactoryImpl.RecordType
, those fields' names are not
necessarily distinct.
Field Summary | |
Type[] |
types
|
Fields inherited from class saffron.rel.TypeFactoryImpl.TypeImpl |
digest, fields |
Constructor Summary | |
TypeFactoryImpl.CrossType(Type[] types)
Creates a cartesian product type. |
Method Summary | |
protected String |
computeDigest()
|
Field |
getField(String fieldName)
|
int |
getFieldCount()
Returns the number of columns. |
int |
getFieldOrdinal(String fieldName)
|
Field[] |
getFields()
Returns the columns. |
Type[] |
getJoinTypes()
Returns the component types of a join type. |
boolean |
isJoin()
Whether the type represents a cartesian product of regular types. |
Methods inherited from class saffron.rel.TypeFactoryImpl.TypeImpl |
equals, getFactory, hashCode, isProject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final Type[] types
Constructor Detail |
public TypeFactoryImpl.CrossType(Type[] types)
Method Detail |
protected String computeDigest()
computeDigest
in class TypeFactoryImpl.TypeImpl
public int getFieldCount()
Type
getFieldCount
in interface Type
getFieldCount
in class TypeFactoryImpl.TypeImpl
public Field[] getFields()
Type
getFields
in interface Type
getFields
in class TypeFactoryImpl.TypeImpl
public int getFieldOrdinal(String fieldName)
getFieldOrdinal
in interface Type
getFieldOrdinal
in class TypeFactoryImpl.TypeImpl
public Field getField(String fieldName)
getField
in interface Type
getField
in class TypeFactoryImpl.TypeImpl
public boolean isJoin()
Type
isJoin
in interface Type
isJoin
in class TypeFactoryImpl.TypeImpl
public Type[] getJoinTypes()
Type
getJoinTypes
in interface Type
getJoinTypes
in class TypeFactoryImpl.TypeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |