|
||||||||||
| 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.TypeImplpublic int getFieldCount()
Type
getFieldCount in interface TypegetFieldCount in class TypeFactoryImpl.TypeImplpublic Field[] getFields()
Type
getFields in interface TypegetFields in class TypeFactoryImpl.TypeImplpublic int getFieldOrdinal(String fieldName)
getFieldOrdinal in interface TypegetFieldOrdinal in class TypeFactoryImpl.TypeImplpublic Field getField(String fieldName)
getField in interface TypegetField in class TypeFactoryImpl.TypeImplpublic boolean isJoin()
Type
isJoin in interface TypeisJoin in class TypeFactoryImpl.TypeImplpublic Type[] getJoinTypes()
Type
getJoinTypes in interface TypegetJoinTypes in class TypeFactoryImpl.TypeImpl
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||