X - the type of the selection itempublic interface Selection<X>
Selection interface defines an item that is to be returned in a query result.| Modifier and Type | Method and Description |
|---|---|
Selection<X> |
alias(String name)
Assigns an alias to the selection item.
|
String |
getAlias()
Return the alias assigned to the tuple element or null, if no alias has been assigned.
|
List<Selection<?>> |
getCompoundSelectionItems()
Return the selection items composing a compound selection.
|
Class<? extends X> |
getJavaType()
Return the Java type of the tuple element.
|
boolean |
isCompoundSelection()
Whether the selection item is a compound selection.
|
Selection<X> alias(String name)
name - aliasboolean isCompoundSelection()
List<Selection<?>> getCompoundSelectionItems()
IllegalStateException - if selection is not a
compound selectionClass<? extends X> getJavaType()
String getAlias()
Copyright © 2084–2018 dukeware.com. All rights reserved.