Constructor and Description |
---|
Operations(StatementType type) |
Modifier and Type | Method and Description |
---|---|
void |
add(Operation operation)
Adds the specified
Operation to this set of operations. |
void |
addFunctionsTo(java.util.List<Function> functions) |
boolean |
appliesToRegularColumns()
Checks if some of the operations apply to regular columns.
|
boolean |
appliesToStaticColumns()
Checks if some of the operations apply to static columns.
|
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 Operations(StatementType type)
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 void addFunctionsTo(java.util.List<Function> functions)
Copyright © 2009-2022 The Apache Software Foundation