Package | Description |
---|---|
org.apache.tajo.storage | |
org.apache.tajo.storage.avro |
Provides read and write support for Avro files.
|
org.apache.tajo.storage.index | |
org.apache.tajo.storage.index.bst | |
org.apache.tajo.storage.parquet |
Provides read and write support for Parquet files.
|
org.apache.tajo.storage.rcfile | |
org.apache.tajo.storage.sequencefile | |
org.apache.tajo.storage.trevni | |
org.apache.tajo.storage.v2 |
Modifier and Type | Class and Description |
---|---|
class |
FrameTuple
An instance of FrameTuple is an immutable tuple.
|
class |
LazyTuple |
class |
VTuple |
Modifier and Type | Method and Description |
---|---|
Tuple |
FrameTuple.clone() |
Tuple |
LazyTuple.clone() |
Tuple |
VTuple.clone() |
Tuple |
Tuple.clone() |
Tuple |
TupleRange.getEnd() |
Tuple |
TupleRange.getStart() |
Tuple |
MergeScanner.next() |
Tuple |
Scanner.next()
It returns one tuple at each call.
|
Tuple |
CSVFile.CSVScanner.next() |
Tuple |
RawFile.RawFileScanner.next() |
Tuple |
RowFile.RowFileScanner.next() |
static Tuple |
RowStoreUtil.project(Tuple in,
Tuple out,
int[] targetIds) |
Tuple |
RowStoreUtil.RowStoreDecoder.toTuple(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
void |
CSVFile.CSVAppender.addTuple(Tuple tuple) |
void |
RawFile.RawFileAppender.addTuple(Tuple t) |
void |
RowFile.RowFileAppender.addTuple(Tuple t) |
void |
Appender.addTuple(Tuple t) |
static long |
MemoryUtil.calculateMemorySize(Tuple tuple) |
int |
TupleComparator.compare(Tuple tuple1,
Tuple tuple2) |
static Tuple |
RowStoreUtil.project(Tuple in,
Tuple out,
int[] targetIds) |
void |
FrameTuple.put(int fieldId,
Tuple tuple) |
void |
LazyTuple.put(int fieldId,
Tuple tuple) |
void |
VTuple.put(int fieldId,
Tuple tuple) |
void |
Tuple.put(int fieldId,
Tuple tuple) |
void |
FrameTuple.set(Tuple left,
Tuple right) |
byte[] |
RowStoreUtil.RowStoreEncoder.toBytes(Tuple tuple) |
Constructor and Description |
---|
FrameTuple(Tuple left,
Tuple right) |
TupleRange(SortSpec[] sortSpecs,
Tuple start,
Tuple end) |
VTuple(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
Tuple |
AvroScanner.next()
Reads the next Tuple from the Avro file.
|
Modifier and Type | Method and Description |
---|---|
void |
AvroAppender.addTuple(Tuple tuple)
Write a Tuple to the Avro file.
|
Modifier and Type | Method and Description |
---|---|
long |
IndexReader.find(Tuple key)
Find the offset corresponding to key which is equal to a given key.
|
long |
OrderIndexReader.find(Tuple key,
boolean nextKey)
Find the offset corresponding to key which is equal to or greater than
a given key.
|
abstract void |
IndexWriter.write(Tuple key,
long offset) |
Modifier and Type | Method and Description |
---|---|
Tuple |
BSTIndex.BSTIndexReader.getFirstKey() |
Tuple |
BSTIndex.BSTIndexReader.getLastKey() |
Modifier and Type | Method and Description |
---|---|
long |
BSTIndex.BSTIndexReader.find(Tuple key) |
long |
BSTIndex.BSTIndexReader.find(Tuple key,
boolean nextKey) |
void |
BSTIndex.BSTIndexWriter.write(Tuple key,
long offset) |
Modifier and Type | Method and Description |
---|---|
Tuple |
TajoRecordConverter.getCurrentRecord()
Returns the current record converted by this converter.
|
Tuple |
ParquetScanner.next()
Reads the next Tuple from the Parquet file.
|
Modifier and Type | Method and Description |
---|---|
parquet.io.api.RecordMaterializer<Tuple> |
TajoReadSupport.prepareForRead(org.apache.hadoop.conf.Configuration configuration,
Map<String,String> keyValueMetaData,
parquet.schema.MessageType fileSchema,
parquet.hadoop.api.ReadSupport.ReadContext readContext)
Prepares for read.
|
Modifier and Type | Method and Description |
---|---|
void |
ParquetAppender.addTuple(Tuple tuple)
Write a Tuple to the Parquet file.
|
void |
TajoWriteSupport.write(Tuple tuple)
Writes a Tuple to the file.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
RCFile.RCFileScanner.next() |
Modifier and Type | Method and Description |
---|---|
void |
RCFile.RCFileAppender.addTuple(Tuple t) |
void |
RCFile.RCFileAppender.append(Tuple tuple)
Append a row of values.
|
void |
RCFile.RCFileScanner.getCurrentRow(Tuple tuple)
get the current row used,make sure called
RCFile.RCFileScanner.next()
first. |
Modifier and Type | Method and Description |
---|---|
Tuple |
SequenceFileScanner.next() |
Modifier and Type | Method and Description |
---|---|
void |
SequenceFileAppender.addTuple(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
Tuple |
TrevniScanner.next() |
Modifier and Type | Method and Description |
---|---|
void |
TrevniAppender.addTuple(Tuple t) |
Modifier and Type | Method and Description |
---|---|
Tuple |
FileScannerV2.next() |
protected Tuple |
RCFileScanner.nextTuple() |
protected Tuple |
CSVFileScanner.nextTuple() |
protected abstract Tuple |
FileScannerV2.nextTuple() |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.