Package com.appiancorp.common.query
Class Selection
java.lang.Object
com.appiancorp.common.query.Selection
- All Implemented Interfaces:
Projection<Column>,Cloneable
Holds the List of Columns to project the Query by.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOCAL_PART
- See Also:
-
QNAME
-
-
Constructor Details
-
Selection
Constructs a new querySelection- Parameters:
columns- the list of columns
-
-
Method Details
-
getColumns
Description copied from interface:ProjectionReturns the list of projected columns- Specified by:
getColumnsin interfaceProjection<Column>- Returns:
- the list of projected columns
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
Description copied from interface:ProjectionReturns a newProjectioncontaining the same data as thisProjection. This is not a deep clone, it just creates new lists to allow data manipulation.- Specified by:
clonein interfaceProjection<Column>- Overrides:
clonein classObject- Returns:
- new
Projectioncontaining the same data as thisProjectioncopied by value.
-