| Modifier and Type | Method and Description |
|---|---|
Table |
Table.AggregateOperation.aggregate(Aggregate... aggregates)
Aggregates the group of columns represented by indices
Usage:
aggregate(count(), max(2),...);
example:
input : 1, 1, 1
1, 2, 1
2, 4, 5
table.groupBy(0, 2).count()
col0, col1
output: 1, 1
1, 2
2, 1 ==> aggregated count
|
Table |
Table.AggregateOperation.aggregateWindows(WindowAggregate... windowAggregates)
Computes row-based window aggregation functions on the Table/projection,
based on windows specified in the argument.
|
Table |
Table.AggregateOperation.aggregateWindowsOverTimeRanges(WindowAggregate... windowAggregates)
Computes time-range-based window aggregation functions on the Table/projection,
based on windows specified in the argument.
|
Table |
Table.TestBuilder.build() |
static Table |
Table.concatenate(Table... tables)
Concatenate multiple tables together to form a single table.
|
Table |
ColumnVector.extractRe(String pattern)
For each captured group specified in the given regular expression
return a column in the table.
|
Table |
Table.filter(ColumnVector mask)
Filters this table using a column of boolean values as a mask, returning a new one.
|
Table |
ContiguousTable.getTable() |
Table |
PartitionedTable.getTable() |
Table |
JCudfSerialization.TableAndRowCountPair.getTable()
Get the Table that was deserialized or null if there was no data
(e.g.: rows without columns).
|
Table |
Table.TableOperation.innerJoin(Table.TableOperation rightJoinIndices)
Joins two tables on the join columns that are passed in.
|
Table |
Table.TableOperation.leftAntiJoin(Table.TableOperation rightJoinIndices)
Performs an anti-join between a left table and a right table, returning only the rows from
the left table that do not match rows in the right table on the join keys.
|
Table |
Table.TableOperation.leftJoin(Table.TableOperation rightJoinIndices)
Joins two tables on the join columns that are passed in.
|
Table |
Table.TableOperation.leftSemiJoin(Table.TableOperation rightJoinIndices)
Performs a semi-join between a left table and a right table, returning only the rows from
the left table that match rows in the right table on the join keys.
|
Table |
Table.orderBy(Table.OrderByArg... args)
Orders the table using the sortkeys returning a new allocated table.
|
static Table |
JCudfSerialization.readAndConcat(JCudfSerialization.SerializedTableHeader[] headers,
HostMemoryBuffer[] dataBuffers) |
static Table |
Table.readCSV(Schema schema,
byte[] buffer)
Read CSV formatted data using the default CSVOptions.
|
static Table |
Table.readCSV(Schema schema,
CSVOptions opts,
byte[] buffer)
Read CSV formatted data.
|
static Table |
Table.readCSV(Schema schema,
CSVOptions opts,
byte[] buffer,
long offset,
long len)
Read CSV formatted data.
|
static Table |
Table.readCSV(Schema schema,
CSVOptions opts,
File path)
Read a CSV file.
|
static Table |
Table.readCSV(Schema schema,
CSVOptions opts,
HostMemoryBuffer buffer,
long offset,
long len)
Read CSV formatted data.
|
static Table |
Table.readCSV(Schema schema,
File path)
Read a CSV file using the default CSVOptions.
|
static Table |
Table.readORC(byte[] buffer)
Read ORC formatted data.
|
static Table |
Table.readORC(File path)
Read a ORC file using the default ORCOptions.
|
static Table |
Table.readORC(ORCOptions opts,
byte[] buffer)
Read ORC formatted data.
|
static Table |
Table.readORC(ORCOptions opts,
byte[] buffer,
long offset,
long len)
Read ORC formatted data.
|
static Table |
Table.readORC(ORCOptions opts,
File path)
Read a ORC file.
|
static Table |
Table.readORC(ORCOptions opts,
HostMemoryBuffer buffer,
long offset,
long len)
Read ORC formatted data.
|
static Table |
Table.readParquet(byte[] buffer)
Read parquet formatted data.
|
static Table |
Table.readParquet(File path)
Read a Parquet file using the default ParquetOptions.
|
static Table |
Table.readParquet(ParquetOptions opts,
byte[] buffer)
Read parquet formatted data.
|
static Table |
Table.readParquet(ParquetOptions opts,
byte[] buffer,
long offset,
long len)
Read parquet formatted data.
|
static Table |
Table.readParquet(ParquetOptions opts,
File path)
Read a Parquet file.
|
static Table |
Table.readParquet(ParquetOptions opts,
HostMemoryBuffer buffer,
long offset,
long len)
Read parquet formatted data.
|
Table |
ColumnVector.stringSplit()
Returns a list of columns by splitting each string using whitespace as the delimiter.
|
Table |
ColumnVector.stringSplit(Scalar delimiter)
Returns a list of columns by splitting each string using the specified delimiter.
|
| Modifier and Type | Method and Description |
|---|---|
static Table |
Table.concatenate(Table... tables)
Concatenate multiple tables together to form a single table.
|
ColumnVector |
Table.lowerBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Given a sorted table return the lower bound.
|
ColumnVector |
Table.upperBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Given a sorted table return the upper bound.
|
void |
TableWriter.write(Table table)
Write out a table.
|
static void |
JCudfSerialization.writeToStream(Table t,
OutputStream out,
long rowOffset,
long numRows)
Write all or part of a table out in an internal format.
|
Copyright © 2020. All rights reserved.