|
|||||||||
| 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.FemWindowPartitionDef$Hib
public class FemWindowPartitionDef$Hib
Implements MOF's WindowPartitionDef interface.
MofImplementationHandler
A set of rows within a window which have a common value for a partitioning key. Each row is referred to as a 'bucket'.
There are actions -- expressed as calculator programs -- which get executed when a new bucket is created, when a set of values are added to a bucket, and when a set of values are removed from a bucket.
| Field Summary | |
|---|---|
private String |
addProgram
|
private FemTupleDescriptor |
bucketDesc
|
private String |
dropProgram
|
private String |
initializeProgram
|
private FemTupleProjection |
partitionKeyList
|
private WindowPartitions |
window
|
| Constructor Summary | |
|---|---|
FemWindowPartitionDef$Hib(RefClass refClass)
|
|
FemWindowPartitionDef$Hib(RefClass refClass,
FemTupleProjection partitionKeyList,
String initializeProgram,
String addProgram,
String dropProgram,
FemTupleDescriptor bucketDesc)
|
|
| Method Summary | |
|---|---|
protected void |
checkConstraints(List<JmiException> errors,
boolean deepVerify)
|
String |
getAddProgram()
Returns the value of attribute addProgram. |
FemTupleDescriptor |
getBucketDesc()
Returns the value of attribute bucketDesc. |
String |
getDropProgram()
Returns the value of attribute dropProgram. |
String |
getInitializeProgram()
Returns the value of attribute initializeProgram. |
FemTupleProjection |
getPartitionKeyList()
Returns the value of attribute partitionKeyList. |
FemWindowDef |
getWindow()
Returns the value of reference Window. |
void |
setAddProgram(String newValue)
Sets the value of addProgram attribute. |
void |
setBucketDesc(FemTupleDescriptor newValue)
Sets the value of bucketDesc attribute. |
void |
setDropProgram(String newValue)
Sets the value of dropProgram attribute. |
void |
setInitializeProgram(String newValue)
Sets the value of initializeProgram attribute. |
void |
setPartitionKeyList(FemTupleProjection newValue)
Sets the value of partitionKeyList attribute. |
void |
setWindow(FemWindowDef newValue)
Sets the value of Window 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 partitionKeyList
private String initializeProgram
private String addProgram
private String dropProgram
private FemTupleDescriptor bucketDesc
private WindowPartitions window
| Constructor Detail |
|---|
FemWindowPartitionDef$Hib(RefClass refClass)
FemWindowPartitionDef$Hib(RefClass refClass,
FemTupleProjection partitionKeyList,
String initializeProgram,
String addProgram,
String dropProgram,
FemTupleDescriptor bucketDesc)
| Method Detail |
|---|
public FemTupleProjection getPartitionKeyList()
FemWindowPartitionDefList of columns to partition the window on.
getPartitionKeyList in interface FemWindowPartitionDefpublic void setPartitionKeyList(FemTupleProjection newValue)
FemWindowPartitionDefFemWindowPartitionDef.getPartitionKeyList() for description on the attribute.
setPartitionKeyList in interface FemWindowPartitionDefnewValue - New value to be set.public String getInitializeProgram()
FemWindowPartitionDefCalculator program executed to initialize a bucket of this window. Typically simply zeroes out the values.
getInitializeProgram in interface FemWindowPartitionDefpublic void setInitializeProgram(String newValue)
FemWindowPartitionDefFemWindowPartitionDef.getInitializeProgram() for description on the attribute.
setInitializeProgram in interface FemWindowPartitionDefnewValue - New value to be set.public String getAddProgram()
FemWindowPartitionDefCalculator program executed to add a value to each field of a bucket of this window.
getAddProgram in interface FemWindowPartitionDefpublic void setAddProgram(String newValue)
FemWindowPartitionDefFemWindowPartitionDef.getAddProgram()
for description on the attribute.
setAddProgram in interface FemWindowPartitionDefnewValue - New value to be set.public String getDropProgram()
FemWindowPartitionDefCalculator program executed to remove a value from each field of a bucket of this window.
getDropProgram in interface FemWindowPartitionDefpublic void setDropProgram(String newValue)
FemWindowPartitionDefFemWindowPartitionDef.getDropProgram()
for description on the attribute.
setDropProgram in interface FemWindowPartitionDefnewValue - New value to be set.public FemTupleDescriptor getBucketDesc()
FemWindowPartitionDefDescribes the types of the columns in a bucket belonging to this window.
getBucketDesc in interface FemWindowPartitionDefpublic void setBucketDesc(FemTupleDescriptor newValue)
FemWindowPartitionDefFemWindowPartitionDef.getBucketDesc()
for description on the attribute.
setBucketDesc in interface FemWindowPartitionDefnewValue - New value to be set.public FemWindowDef getWindow()
FemWindowPartitionDef
getWindow in interface FemWindowPartitionDefpublic void setWindow(FemWindowDef newValue)
FemWindowPartitionDefFemWindowPartitionDef.getWindow() for
description on the attribute.
setWindow in interface FemWindowPartitionDefnewValue - 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 | ||||||||