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) |
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 value.protected Object getFieldValue(ITuple tuple)
tuple
- 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 name.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.