| Package | Description |
|---|---|
| ai.rapids.cudf |
| Modifier and Type | Method and Description |
|---|---|
Table |
Table.GroupByOperation.aggregate(AggregationOnColumn... 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.GroupByOperation.aggregateWindows(AggregationOverWindow... windowAggregates)
Computes row-based window aggregation functions on the Table/projection,
based on windows specified in the argument.
|
Table |
Table.GroupByOperation.aggregateWindowsOverRanges(AggregationOverWindow... windowAggregates)
Computes range-based window aggregation functions on the Table/projection,
based on windows specified in the argument.
|
Table |
Table.GroupByOperation.aggregateWindowsOverTimeRanges(AggregationOverWindow... windowAggregates)
Deprecated.
use aggregateWindowsOverRanges
|
Table |
Table.TestBuilder.build() |
static Table |
Table.concatenate(Table... tables)
Concatenate multiple tables together to form a single table.
|
static Table |
Table.convertFromRows(ColumnView vec,
DType... schema)
Convert a column of list of bytes that is formatted like the output from `convertToRows`
and convert it back to a table.
|
Table |
Table.crossJoin(Table right)
Joins two tables all of the left against all of the right.
|
Table |
Table.explode(int index)
Explodes a list column's elements.
|
Table |
Table.explodeOuter(int index)
Explodes a list column's elements.
|
Table |
Table.explodeOuterPosition(int index)
Explodes a list column's elements retaining any null entries or empty lists and includes a
position column.
|
Table |
Table.explodePosition(int index)
Explodes a list column's elements and includes a position column.
|
Table |
ColumnView.extractRe(String pattern)
For each captured group specified in the given regular expression
return a column in the table.
|
Table |
Table.filter(ColumnView mask)
Filters this table using a column of boolean values as a mask, returning a new one.
|
static Table |
Table.fromPackedTable(ByteBuffer metadata,
DeviceMemoryBuffer data)
Construct a table from a packed representation.
|
Table |
Table.TableOperation.fullJoin(Table.TableOperation rightJoinIndices)
Joins two tables on the join columns that are passed in.
|
Table |
Table.TableOperation.fullJoin(Table.TableOperation rightJoinIndices,
boolean compareNullsEqual)
Joins two tables on the join columns that are passed in.
|
Table |
Table.gather(ColumnView gatherMap)
Gathers the rows of this table according to `gatherMap` such that row "i"
in the resulting table's columns will contain row "gatherMap[i]" from this table.
|
Table |
Table.gather(ColumnView gatherMap,
boolean checkBounds)
Gathers the rows of this table according to `gatherMap` such that row "i"
in the resulting table's columns will contain row "gatherMap[i]" from this table.
|
Table |
StreamedTableReader.getNextIfAvailable()
Get the next table if available.
|
Table |
StreamedTableReader.getNextIfAvailable(int rowTarget)
Get the next table if available.
|
Table |
JCudfSerialization.TableAndRowCountPair.getTable()
Get the Table that was deserialized or null if there was no data
(e.g.: rows without columns).
|
Table |
PartitionedTable.getTable() |
Table |
ContiguousTable.getTable()
Get the table instance, reconstructing it from the metadata if necessary.
|
Table |
Table.TableOperation.innerJoin(Table.TableOperation rightJoinIndices)
Joins two tables on the join columns that are passed in.
|
Table |
Table.TableOperation.innerJoin(Table.TableOperation rightJoinIndices,
boolean compareNullsEqual)
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.leftAntiJoin(Table.TableOperation rightJoinIndices,
boolean compareNullsEqual)
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.leftJoin(Table.TableOperation rightJoinIndices,
boolean compareNullsEqual)
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.TableOperation.leftSemiJoin(Table.TableOperation rightJoinIndices,
boolean compareNullsEqual)
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.
|
static Table |
Table.merge(List<Table> tables,
OrderByArg... args)
Merge multiple already sorted tables keeping the sort order the same.
|
static Table |
Table.merge(Table[] tables,
OrderByArg... args)
Merge multiple already sorted tables keeping the sort order the same.
|
Table |
Table.orderBy(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 |
Table.repeat(ColumnView counts)
Create a new table by repeating each row of this table.
|
Table |
Table.repeat(ColumnView counts,
boolean checkCount)
Create a new table by repeating each row of this table.
|
Table |
Table.repeat(int count)
Repeat each row of this table count times.
|
Table |
ColumnView.stringSplit()
Returns a list of columns by splitting each string using whitespace as the delimiter.
|
Table |
ColumnView.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.
|
Table |
Table.crossJoin(Table right)
Joins two tables all of the left against all of the right.
|
void |
ArrowIPCWriterOptions.DoneOnGpu.doneWithTheGpu(Table table)
A callback to indicate that the table is off of the GPU
and may be closed, even if all of the data is not yet written.
|
GatherMap[] |
Table.fullJoinGatherMaps(Table rightKeys,
boolean compareNullsEqual)
Computes the gather maps that can be used to manifest the result of an full equi-join between
two tables.
|
GatherMap[] |
Table.innerJoinGatherMaps(Table rightKeys,
boolean compareNullsEqual)
Computes the gather maps that can be used to manifest the result of an inner equi-join between
two tables.
|
GatherMap |
Table.leftAntiJoinGatherMap(Table rightKeys,
boolean compareNullsEqual)
Computes the gather map that can be used to manifest the result of a left anti-join between
two tables.
|
GatherMap[] |
Table.leftJoinGatherMaps(Table rightKeys,
boolean compareNullsEqual)
Computes the gather maps that can be used to manifest the result of a left equi-join between
two tables.
|
GatherMap |
Table.leftSemiJoinGatherMap(Table rightKeys,
boolean compareNullsEqual)
Computes the gather map that can be used to manifest the result of a left semi-join between
two tables.
|
ColumnVector |
Table.lowerBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Find smallest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
Table.lowerBound(Table valueTable,
OrderByArg... args)
Find smallest indices in a sorted table where values should be inserted to maintain order.
|
static Table |
Table.merge(Table[] tables,
OrderByArg... args)
Merge multiple already sorted tables keeping the sort order the same.
|
ColumnVector |
Table.upperBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Find largest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
Table.upperBound(Table valueTable,
OrderByArg... args)
Find largest indices in a sorted table where values should be inserted to maintain order.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Table |
Table.merge(List<Table> tables,
OrderByArg... args)
Merge multiple already sorted tables keeping the sort order the same.
|
Copyright © 2021. All rights reserved.