|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.flow.Scope
public class Scope
Class Scope ...
| Nested Class Summary | |
|---|---|
static class |
Scope.Kind
|
| Constructor Summary | |
|---|---|
Scope()
Default constructor. |
|
Scope(Fields outFields)
Tap constructor |
|
Scope(Scope scope)
Copy constructor |
|
Scope(String name)
Constructor Scope creates a new Scope instance. |
|
Scope(String name,
Fields declaredFields,
Map<String,Fields> groupingSelectors,
Map<String,Fields> sortingSelectors,
Fields outValuesFields)
Constructor Scope creates a new Scope instance. |
|
Scope(String name,
Scope.Kind kind,
Fields argumentSelector,
Fields declaredFields,
Fields outGroupingFields,
Fields outValuesFields)
Constructor Scope creates a new Scope instance. |
|
| Method Summary | |
|---|---|
void |
copyFields(Scope scope)
Method copyFields copies the given Scope instance fields to this instance. |
Fields |
getArguments()
Method getArguments returns the arguments of this Scope object. |
Fields |
getArgumentSelector()
Method getArgumentSelector returns the argumentSelector of this Scope object. |
TupleEntry |
getArgumentsEntry()
Method getArgumentsEntry returns the argumentsEntry of this Scope object. |
TupleEntry |
getArgumentsEntry(TupleEntry input)
Method getArgumentsEntry returns a cached TupleEntry for the declared arguments of this scope. |
TupleEntry |
getDeclaredEntry()
Method getDeclaredEntry returns the declaredEntry of this Scope object. |
Fields |
getDeclaredFields()
Method getDeclaredFields returns the declaredFields of this Scope object. |
Map<String,Fields> |
getGroupingSelectors()
Method getGroupingSelectors returns the groupingSelectors of this Scope object. |
String |
getName()
Method getName returns the name of this Scope object. |
Fields |
getOutGroupingFields()
Method getOutGroupingFields returns the outGroupingFields of this Scope object. |
Fields |
getOutGroupingSelector()
Method getOutGroupingSelector returns the outGroupingSelector of this Scope object. |
Fields |
getOutValuesFields()
Method getOutValuesFields returns the outValuesFields of this Scope object. |
Fields |
getOutValuesSelector()
Method getOutValuesSelector returns the outValuesSelector of this Scope object. |
Map<String,Fields> |
getSortingSelectors()
Method getSortingSelectors returns the sortingSelectors of this Scope object. |
boolean |
isEach()
Method isEach returns true if this Scope object represents an Each. |
boolean |
isEvery()
Method isEvery returns true if this Scope object represents an Every. |
boolean |
isGroup()
Method isGroup returns true if this Scope object represents a Group. |
boolean |
isTap()
Method isTap returns true if this Scope object represents a Tap. |
void |
setName(String name)
Method setName sets the name of this Scope object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Scope()
public Scope(Scope scope)
scope - of type Scopepublic Scope(Fields outFields)
outFields - of type Fields
public Scope(String name,
Scope.Kind kind,
Fields argumentSelector,
Fields declaredFields,
Fields outGroupingFields,
Fields outValuesFields)
name - of type Stringkind - of type KindargumentSelector - of type FieldsdeclaredFields - of type FieldsoutGroupingFields - of type FieldsoutValuesFields - of type Fields
public Scope(String name,
Fields declaredFields,
Map<String,Fields> groupingSelectors,
Map<String,Fields> sortingSelectors,
Fields outValuesFields)
name - of type StringdeclaredFields - of type FieldsgroupingSelectors - of type MapoutValuesFields - of type Fieldspublic Scope(String name)
name - of type String| Method Detail |
|---|
public boolean isGroup()
public boolean isEach()
public boolean isEvery()
public boolean isTap()
public String getName()
public void setName(String name)
name - the name of this Scope object.public Fields getArgumentSelector()
public Fields getArguments()
public TupleEntry getArgumentsEntry()
public TupleEntry getArgumentsEntry(TupleEntry input)
TupleEntry for the declared arguments of this scope.
input - of type TupleEntry
public Fields getDeclaredFields()
public TupleEntry getDeclaredEntry()
public Map<String,Fields> getGroupingSelectors()
public Map<String,Fields> getSortingSelectors()
public Fields getOutGroupingSelector()
public Fields getOutGroupingFields()
public Fields getOutValuesSelector()
public Fields getOutValuesFields()
public void copyFields(Scope scope)
scope - of type Scopepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||