Modifier and Type | Method and Description |
---|---|
List<T> |
asList() |
int |
countNotNull() |
static <X> Tuple<X> |
create(X... elements) |
boolean |
equals(Object other)
Equality of tuples is based on equality of the elements in the tuple
|
T |
get(int idx) |
int |
hashCode() |
Iterator<T> |
iterator() |
Tuple<T> |
map(ColumnMap colMap)
Return a tuple with the column mapping applied
|
static <T> Iterator<Tuple<T>> |
prefix(int prefixLength,
Iterator<Tuple<T>> iter) |
static <T> Iterator<T> |
project(int slot,
Iterator<Tuple<T>> iter) |
int |
size() |
String |
toString() |
T[] |
tuple() |
T[] |
tupleCopy() |
Tuple<T> |
unmap(ColumnMap colMap)
Return a tuple with the column mapping reversed
|
public static <X> Tuple<X> create(X... elements)
public T get(int idx)
public int countNotNull()
public T[] tuple()
public T[] tupleCopy()
public int size()
public boolean equals(Object other)
Licenced under the Apache License, Version 2.0