Constructor and Description |
---|
Operations() |
Modifier and Type | Method and Description |
---|---|
void |
add(Operation operation)
Adds the specified
Operation to this set of operations. |
boolean |
appliesToRegularColumns()
Checks if some of the operations apply to regular columns.
|
boolean |
appliesToStaticColumns()
Checks if some of the operations apply to static columns.
|
java.lang.Iterable<? extends Function> |
getFunctions() |
boolean |
isEmpty()
Checks if this
Operations is empty. |
java.util.Iterator<Operation> |
iterator() |
java.util.List<Operation> |
regularOperations()
Returns the operation on regular columns.
|
boolean |
requiresRead()
Checks if one of the operations requires a read.
|
java.util.List<Operation> |
staticOperations()
Returns the operation on static columns.
|
public boolean appliesToStaticColumns()
true
if some of the operations apply to static columns, false
otherwise.public boolean appliesToRegularColumns()
true
if some of the operations apply to regular columns, false
otherwise.public java.util.List<Operation> regularOperations()
public java.util.List<Operation> staticOperations()
public void add(Operation operation)
Operation
to this set of operations.operation
- the operation to addpublic boolean requiresRead()
true
if one of the operations requires a read, false
otherwise.public boolean isEmpty()
Operations
is empty.true
if this Operations
is empty, false
otherwise.public java.util.Iterator<Operation> iterator()
iterator
in interface java.lang.Iterable<Operation>
public java.lang.Iterable<? extends Function> getFunctions()
Copyright © 2015 The Apache Software Foundation