|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
FemWindowPartitionDef
List of columns to partition the window on.
getPartitionKeyList
in interface FemWindowPartitionDef
public void setPartitionKeyList(FemTupleProjection newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getPartitionKeyList()
for description on the attribute.
setPartitionKeyList
in interface FemWindowPartitionDef
newValue
- New value to be set.public String getInitializeProgram()
FemWindowPartitionDef
Calculator program executed to initialize a bucket of this window. Typically simply zeroes out the values.
getInitializeProgram
in interface FemWindowPartitionDef
public void setInitializeProgram(String newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getInitializeProgram()
for description on the attribute.
setInitializeProgram
in interface FemWindowPartitionDef
newValue
- New value to be set.public String getAddProgram()
FemWindowPartitionDef
Calculator program executed to add a value to each field of a bucket of this window.
getAddProgram
in interface FemWindowPartitionDef
public void setAddProgram(String newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getAddProgram()
for description on the attribute.
setAddProgram
in interface FemWindowPartitionDef
newValue
- New value to be set.public String getDropProgram()
FemWindowPartitionDef
Calculator program executed to remove a value from each field of a bucket of this window.
getDropProgram
in interface FemWindowPartitionDef
public void setDropProgram(String newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getDropProgram()
for description on the attribute.
setDropProgram
in interface FemWindowPartitionDef
newValue
- New value to be set.public FemTupleDescriptor getBucketDesc()
FemWindowPartitionDef
Describes the types of the columns in a bucket belonging to this window.
getBucketDesc
in interface FemWindowPartitionDef
public void setBucketDesc(FemTupleDescriptor newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getBucketDesc()
for description on the attribute.
setBucketDesc
in interface FemWindowPartitionDef
newValue
- New value to be set.public FemWindowDef getWindow()
FemWindowPartitionDef
getWindow
in interface FemWindowPartitionDef
public void setWindow(FemWindowDef newValue)
FemWindowPartitionDef
FemWindowPartitionDef.getWindow()
for
description on the attribute.
setWindow
in interface FemWindowPartitionDef
newValue
- 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 |