Package io.deephaven.api
Class ColumnName
java.lang.Object
io.deephaven.api.ColumnName
- All Implemented Interfaces:
Expression
,JoinAddition
,JoinMatch
,Pair
,Selectable
@Immutable
public abstract class ColumnName
extends Object
implements Selectable, Expression, Pair, JoinMatch, JoinAddition
Represents a column name.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.expression.Expression
Expression.Visitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal SortColumn
asc()
Equivalent toSortColumn.asc(this)
.static Optional<Collection<ColumnName>>
cast
(Collection<? extends Selectable> columns) final SortColumn
desc()
Equivalent toSortColumn.desc(this)
.final ColumnName
The existing column name, from the right table of a join operation.final Expression
The expression.static List<ColumnName>
static List<ColumnName>
from
(Collection<String> values) final ColumnName
input()
The input column.static boolean
isValidParsedColumnName
(String value) final ColumnName
left()
The column from the left table.abstract String
name()
The column name.names
(Collection<? extends ColumnName> columns) final ColumnName
The new column name, to be added to the new table.static ColumnName
final ColumnName
output()
The output column.static ColumnName
final ColumnName
right()
The column name from the right table.final String
toString()
final <T> T
walk
(Expression.Visitor<T> visitor)
-
Constructor Details
-
ColumnName
public ColumnName()
-
-
Method Details
-
isValidParsedColumnName
-
of
-
parse
-
from
-
from
-
names
-
cast
-
name
The column name.- Returns:
- the column name
-
asc
Equivalent toSortColumn.asc(this)
.- Returns:
- the ascending sort column
- See Also:
-
desc
Equivalent toSortColumn.desc(this)
.- Returns:
- the descending sort column
- See Also:
-
walk
- Specified by:
walk
in interfaceExpression
-
newColumn
Description copied from interface:Selectable
The new column name, to be added to the new table.- Specified by:
newColumn
in interfaceJoinAddition
- Specified by:
newColumn
in interfaceSelectable
- Returns:
- the new column name
-
expression
Description copied from interface:Selectable
The expression.- Specified by:
expression
in interfaceSelectable
- Returns:
- the expression
-
input
Description copied from interface:Pair
The input column. -
output
Description copied from interface:Pair
The output column. -
left
Description copied from interface:JoinMatch
The column from the left table. -
right
Description copied from interface:JoinMatch
The column name from the right table. -
existingColumn
Description copied from interface:JoinAddition
The existing column name, from the right table of a join operation.- Specified by:
existingColumn
in interfaceJoinAddition
- Returns:
- the existing column name
-
toString
-