public class TupleDesc_B extends java.lang.Object implements TupleDesc<TupleDesc_B>
| Constructor and Description |
|---|
TupleDesc_B(int numBits) |
TupleDesc_B(int numBits,
int numInts) |
| Modifier and Type | Method and Description |
|---|---|
TupleDesc_B |
copy()
Creates a copy of this description
|
double |
getDouble(int index)
Returns the value of a tuple's element as a double.
|
boolean |
isBitTrue(int bit) |
void |
setTo(TupleDesc_B source)
Sets this tuple to be the same as the provided tuple
|
int |
size()
Number of elements in the tuple.
|
public TupleDesc_B(int numBits)
public TupleDesc_B(int numBits,
int numInts)
public boolean isBitTrue(int bit)
public TupleDesc_B copy()
TupleDesccopy in interface TupleDesc<TupleDesc_B>public void setTo(TupleDesc_B source)
TupleDescsetTo in interface TupleDesc<TupleDesc_B>source - The tuple which this one is to become a copy of.public double getDouble(int index)
TupleDescgetDouble in interface TupleDesc<TupleDesc_B>index - Which elementpublic int size()
TupleDescsize in interface TupleDesc<TupleDesc_B>