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
-
Constructor Summary
-
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:Projection
Returns the list of projected columns- Specified by:
getColumns
in interfaceProjection<Column>
- Returns:
- the list of projected columns
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
Description copied from interface:Projection
Returns a newProjection
containing the same data as thisProjection
. This is not a deep clone, it just creates new lists to allow data manipulation.- Specified by:
clone
in interfaceProjection<Column>
- Overrides:
clone
in classObject
- Returns:
- new
Projection
containing the same data as thisProjection
copied by value.
-