|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.data.source.CursorSpecification
oracle.olapi.data.source.CompoundCursorSpecification
public final class CompoundCursorSpecification
A CursorSpecification for a Source that has one or more outputs. A CompoundCursorSpecification has child CursorSpecification objects. It always has a base ValueCursorSpecification for the values of the elements of the Source. It also has a CursorSpecification for each of the outputs of the Source. With methods of a CompoundCursorSpecification, an application can get its base ValueCursorSpecification and the outputs.
With other methods, an application can accept a CursorSpecificationVisitor or specify that the default fetch size be set on the children of the CompoundCursorSpecification. The fetch size is the number of elements that a Cursor retrieves during a single fetch from the data store. If a CursorSpecification is set to specify the fetch size for a Cursor, then an application can specify the value of the fetch size by calling the setFetchSize method on the Cursor.
| Method Summary | |
|---|---|
java.lang.Object |
acceptVisitor(CursorSpecificationVisitor visitor, java.lang.Object context)Calls the visitCompoundCursorSpecification method of the specified CursorSpecificationVisitor and passes that method this CompoundCursorSpecification and the specified context object. |
java.util.List |
getOutputs()Gets a List whose values are the outputs of this CompoundCursorSpecification. |
ValueCursorInfoSpecification |
getValue()Gets the ValueCursorSpecification for this CompoundCursorSpecification. |
ValueCursorSpecification |
getValueCursorSpecification()Gets the base ValueCursorSpecification, which is the CursorSpecification for the base ValueCursor, which has the values of the Source for the CompoundCursorSpecification. |
void |
specifyDefaultFetchSizeOnChildren()Specifies that the default fetch size be set on the child CursorSpecification objects of the CompoundCursorSpecification. |
void |
specifyDefaultFetchSizeOnChildren(int defaultFetchSize)Specifies that the default fetch size be set on the child CursorSpecification objects of the CompoundCursorSpecification and supplies an initial value for the fetch size. |
| Methods inherited from class oracle.olapi.data.source.CursorSpecification |
|---|
getDefaultFetchSize, getSource, getTransaction, isExtentCalculationSpecified, isParentEndCalculationSpecified, isParentStartCalculationSpecified, setDefaultFetchSize, setExtentCalculationSpecified, setParentEndCalculationSpecified, setParentStartCalculationSpecified, setTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.olapi.data.source.CursorInfoSpecification |
|---|
getSource, isParentEndCalculationSpecified, isParentStartCalculationSpecified, setParentEndCalculationSpecified, setParentStartCalculationSpecified |
| Method Detail |
|---|
public final java.lang.Object acceptVisitor(CursorSpecificationVisitor visitor,
java.lang.Object context)
visitCompoundCursorSpecification method of the specified CursorSpecificationVisitor and passes that method this CompoundCursorSpecification and the specified context object.acceptVisitor in class CursorSpecificationvisitor - A CursorSpecificationVisitor.context - An Object.Object returned by the visitCompoundCursorSpecification method.public final java.util.List getOutputs()
List whose values are the outputs of this CompoundCursorSpecification.getOutputs in interface CompoundCursorInfoSpecificationList with the outputs of the CompoundCursorSpecification.public final ValueCursorSpecification getValueCursorSpecification()
ValueCursorSpecification, which is the CursorSpecification for the base ValueCursor, which has the values of the Source for the CompoundCursorSpecification.ValueCursorSpecification for the CompoundCursorSpecification.public final ValueCursorInfoSpecification getValue()
ValueCursorSpecification for this CompoundCursorSpecification.getValue in interface CompoundCursorInfoSpecificationValueCursorSpecification for this CompoundCursorSpecification.public final void specifyDefaultFetchSizeOnChildren()
CursorSpecification objects of the CompoundCursorSpecification.public final void specifyDefaultFetchSizeOnChildren(int defaultFetchSize)
CursorSpecification objects of the CompoundCursorSpecification and supplies an initial value for the fetch size.defaultFetchSize - The initial fetch size to set for the child CursorSpecification objects.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||