|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefObjectBase
net.sf.farrago.fem.fennel.FemWindowDef$Hib
public class FemWindowDef$Hib
Implements MOF's WindowDef interface.
MofImplementationHandler
The definition of a window inside a FemWindowStreamDef.
A window has either a logical or physical range, and contains a number of partitions:
| Field Summary | |
|---|---|
private Integer |
offset
|
private FemTupleProjection |
orderKeyList
|
private WindowPartitions |
partition
|
private Boolean |
physical
|
private String |
range
|
private Windows |
windowStream
|
| Constructor Summary | |
|---|---|
FemWindowDef$Hib(RefClass refClass)
|
|
FemWindowDef$Hib(RefClass refClass,
FemTupleProjection orderKeyList,
boolean physical,
String range,
int offset)
|
|
| Method Summary | |
|---|---|
protected void |
checkConstraints(List<JmiException> errors,
boolean deepVerify)
|
int |
getOffset()
Returns the value of attribute offset. |
FemTupleProjection |
getOrderKeyList()
Returns the value of attribute orderKeyList. |
List<FemWindowPartitionDef> |
getPartition()
Returns the value of reference Partition. |
String |
getRange()
Returns the value of attribute range. |
FemWindowStreamDef |
getWindowStream()
Returns the value of reference WindowStream. |
boolean |
isPhysical()
Returns the value of attribute physical. |
void |
setOffset(int newValue)
Sets the value of offset attribute. |
void |
setOrderKeyList(FemTupleProjection newValue)
Sets the value of orderKeyList attribute. |
void |
setPhysical(boolean newValue)
Sets the value of physical attribute. |
void |
setRange(String newValue)
Sets the value of range attribute. |
void |
setWindowStream(FemWindowStreamDef newValue)
Sets the value of WindowStream reference. |
| Methods inherited from class org.eigenbase.enki.jmi.impl.RefObjectBase |
|---|
findAssociationEnd, findAttribute, getRepository, refClass, refDelete, refImmediateComposite, refImmediatePackage, refIsInstanceOf, refMetaObject, refOutermostComposite, setRefMetaObject, unregister |
| Methods inherited from class org.eigenbase.enki.jmi.impl.RefFeaturedBase |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
|---|
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMofId, refOutermostPackage, refVerifyConstraints, setMofId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jmi.reflect.RefObject |
|---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
| Methods inherited from interface javax.jmi.reflect.RefFeatured |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Field Detail |
|---|
private FemTupleProjection orderKeyList
private Boolean physical
private String range
private Integer offset
private WindowPartitions partition
private Windows windowStream
| Constructor Detail |
|---|
FemWindowDef$Hib(RefClass refClass)
FemWindowDef$Hib(RefClass refClass,
FemTupleProjection orderKeyList,
boolean physical,
String range,
int offset)
| Method Detail |
|---|
public FemTupleProjection getOrderKeyList()
FemWindowDefList of columns to sort the window on. For example, in WINDOW w AS (ORDER BY hiredate PARTITION BY gender ROWS 5 PRECEDING), the order list is "hiredate".
Often the optimizer will have ensured
that the input stream is already sorted on the sort key, or at least a
subset of it; for infinite relations, this is required in order to
perform aggregation. See FemWindowStreamDef.getInputOrderKeyList().
getOrderKeyList in interface FemWindowDefpublic void setOrderKeyList(FemTupleProjection newValue)
FemWindowDefFemWindowDef.getOrderKeyList() for description on the attribute.
setOrderKeyList in interface FemWindowDefnewValue - New value to be set.public boolean isPhysical()
FemWindowDefTrue if the window is physical (defined by a number of rows); false if the window is logical (defined by a range of values).
isPhysical in interface FemWindowDefpublic void setPhysical(boolean newValue)
FemWindowDefFemWindowDef.isPhysical() for
description on the attribute.
setPhysical in interface FemWindowDefnewValue - New value to be set.public String getRange()
FemWindowDefIf physical, the number of rows; if logical, the value range (for example, 3,600,000 milliseconds).
getRange in interface FemWindowDefpublic void setRange(String newValue)
FemWindowDefFemWindowDef.getRange() for
description on the attribute.
setRange in interface FemWindowDefnewValue - New value to be set.public int getOffset()
FemWindowDefThis is the offset of the window. Positive value refers to a leading window and negative value refers to a trailing window.
getOffset in interface FemWindowDefpublic void setOffset(int newValue)
FemWindowDefFemWindowDef.getOffset() for
description on the attribute.
setOffset in interface FemWindowDefnewValue - New value to be set.public List<FemWindowPartitionDef> getPartition()
FemWindowDef
getPartition in interface FemWindowDefFemWindowPartitionDefpublic FemWindowStreamDef getWindowStream()
FemWindowDef
getWindowStream in interface FemWindowDefpublic void setWindowStream(FemWindowStreamDef newValue)
FemWindowDefFemWindowDef.getWindowStream() for description on the attribute.
setWindowStream in interface FemWindowDefnewValue - New value to be set.
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
checkConstraints in class RefBaseObjectBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||