public class FieldSelector extends Object implements Serializable
Constructor and Description |
---|
FieldSelector(String field)
Creates a new
FieldSelector instance. |
Modifier and Type | Method and Description |
---|---|
FieldSelector |
as(String as)
Sets an alias for this field.
|
protected Object |
getFieldValue(ITuple tuple)
Get field value.
|
FieldSelector |
now()
Sets the fields as an automatically generated TimeUUID.
|
Column |
select(ITuple t) |
protected final String field
public FieldSelector(String field)
Creates a new FieldSelector
instance.
field
- the name of valueprotected Object getFieldValue(ITuple tuple)
Get field value.
tuple
public FieldSelector now()
Sets the fields as an automatically generated TimeUUID.
public FieldSelector as(String as)
Sets an alias for this field.
as
- the alias nameCopyright © 2022 The Apache Software Foundation. All rights reserved.