public class Fields
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>, java.io.Serializable
Constructor and Description |
---|
Fields(Fields delegate) |
Fields(java.util.List<java.lang.String> fields) |
Fields(java.lang.String... fields) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String field)
Returns true if this contains the specified name of the field.
|
int |
fieldIndex(java.lang.String field)
Returns the position of the specified field.
|
java.lang.String |
get(int index) |
Fields |
getDelegate() |
java.util.Iterator<java.lang.String> |
iterator() |
java.util.List<java.lang.Object> |
select(Fields selector,
java.util.List<java.lang.Object> tuple) |
int |
size() |
java.util.List<java.lang.String> |
toList() |
java.lang.String |
toString() |
public Fields(java.lang.String... fields)
public Fields(Fields delegate)
public Fields(java.util.List<java.lang.String> fields)
public java.util.List<java.lang.Object> select(Fields selector, java.util.List<java.lang.Object> tuple)
public java.util.List<java.lang.String> toList()
public int size()
public java.lang.String get(int index)
public java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
public int fieldIndex(java.lang.String field)
public boolean contains(java.lang.String field)
public java.lang.String toString()
toString
in class java.lang.Object
public Fields getDelegate()