net.sf.farrago.fem.fennel
Class FemWindowPartitionDefClass$Hib

java.lang.Object
  extended by org.eigenbase.enki.jmi.impl.RefBaseObjectBase
      extended by org.eigenbase.enki.jmi.impl.RefFeaturedBase
          extended by org.eigenbase.enki.jmi.impl.RefClassBase
              extended by net.sf.farrago.fem.fennel.FemWindowPartitionDefClass$Hib
All Implemented Interfaces:
RefBaseObject, RefClass, RefFeatured, FemWindowPartitionDefClass

public class FemWindowPartitionDefClass$Hib
extends RefClassBase
implements FemWindowPartitionDefClass

Implements MOF's WindowPartitionDef class proxy interface.

Author:
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.


Constructor Summary
FemWindowPartitionDefClass$Hib(RefPackage container)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 FemWindowPartitionDef createFemWindowPartitionDef()
          The default factory operation used to create an instance object.
 FemWindowPartitionDef createFemWindowPartitionDef(FemTupleProjection partitionKeyList, String initializeProgram, String addProgram, String dropProgram, FemTupleDescriptor bucketDesc)
          Creates an instance object having attributes initialized by the passed values.
 Class<?> getInstanceClass()
           
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefClassBase
getRepository, refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum, refImmediatePackage, register, 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, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofId, setRefMetaObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
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
 

Constructor Detail

FemWindowPartitionDefClass$Hib

FemWindowPartitionDefClass$Hib(RefPackage container)
Method Detail

createFemWindowPartitionDef

public FemWindowPartitionDef createFemWindowPartitionDef()
Description copied from interface: FemWindowPartitionDefClass
The default factory operation used to create an instance object.

Specified by:
createFemWindowPartitionDef in interface FemWindowPartitionDefClass
Returns:
The created instance object.

createFemWindowPartitionDef

public FemWindowPartitionDef createFemWindowPartitionDef(FemTupleProjection partitionKeyList,
                                                         String initializeProgram,
                                                         String addProgram,
                                                         String dropProgram,
                                                         FemTupleDescriptor bucketDesc)
Description copied from interface: FemWindowPartitionDefClass
Creates an instance object having attributes initialized by the passed values.

Specified by:
createFemWindowPartitionDef in interface FemWindowPartitionDefClass
Parameters:
partitionKeyList -

List of columns to partition the window on.

initializeProgram -

Calculator program executed to initialize a bucket of this window. Typically simply zeroes out the values.

addProgram -

Calculator program executed to add a value to each field of a bucket of this window.

dropProgram -

Calculator program executed to remove a value from each field of a bucket of this window.

bucketDesc -

Describes the types of the columns in a bucket belonging to this window.

Returns:
The created instance object.

checkConstraints

protected void checkConstraints(List<JmiException> errors,
                                boolean deepVerify)
Specified by:
checkConstraints in class RefBaseObjectBase

getInstanceClass

public Class<?> getInstanceClass()
Specified by:
getInstanceClass in class RefClassBase