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)
FieldSelector
instance.field
- the name of valueprotected Object getFieldValue(ITuple tuple)
tuple
public FieldSelector now()
public FieldSelector as(String as)
as
- the alias nameCopyright © 2023 The Apache Software Foundation. All rights reserved.