Uses of Class
ai.rapids.cudf.Table
Packages that use Table
-
Uses of Table in ai.rapids.cudf
Methods in ai.rapids.cudf that return TableModifier and TypeMethodDescriptionTable.GroupByOperation.aggregate(GroupByAggregationOnColumn... 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 countTable.GroupByOperation.aggregateWindows(AggregationOverWindow... windowAggregates) Computes row-based window aggregation functions on the Table/projection, based on windows specified in the argument.Table.GroupByOperation.aggregateWindowsOverRanges(AggregationOverWindow... windowAggregates) Computes range-based window aggregation functions on the Table/projection, based on windows specified in the argument.Table.TestBuilder.build()static TableAggregation128Utils.combineInt64SumChunks(Table chunks, DType type) Reassemble a column of 128-bit values from a table of four 64-bit integer columns and check for overflow.static TableTable.concatenate(Table... tables) Concatenate multiple tables together to form a single table.Joins two tables all of the left against all of the right.Table.dropDuplicates(int[] keyColumns, Table.DuplicateKeepOption keep, boolean nullsEqual) Copy rows of the current table to an output table such that duplicate rows in the key columns are ignored (i.e., only one row from the duplicate ones will be copied).Table.explode(int index) Explodes a list column's elements.Table.explodeOuter(int index) Explodes a list column's elements.Table.explodeOuterPosition(int index) Explodes a list column's elements retaining any null entries or empty lists and includes a position column.Table.explodePosition(int index) Explodes a list column's elements and includes a position column.final TableColumnView.extractRe(RegexProgram regexProg) For each captured group specified in the given regex program return a column in the table.final TableDeprecated.Table.filter(ColumnView mask) Filters this table using a column of boolean values as a mask, returning a new one.static TableTable.fromPackedTable(ByteBuffer metadata, DeviceMemoryBuffer data) Construct a table from a packed representation.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.gather(ColumnView gatherMap, OutOfBoundsPolicy outOfBoundsPolicy) 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.StreamedTableReader.getNextIfAvailable()Get the next table if available.StreamedTableReader.getNextIfAvailable(int rowTarget) Get the next table if available.ContiguousTable.getTable()Get the table instance, reconstructing it from the metadata if necessary.JCudfSerialization.TableAndRowCountPair.getTable()Get the Table that was deserialized or null if there was no data (e.g.: rows without columns).PartitionedTable.getTable()ContigSplitGroupByResult.getUniqKeyTable()Get the key table, each row in the key table is corresponding to a group.static TableTable.merge(Table[] tables, OrderByArg... args) Merge multiple already sorted tables keeping the sort order the same.static TableTable.merge(List<Table> tables, OrderByArg... args) Merge multiple already sorted tables keeping the sort order the same.Table.orderBy(OrderByArg... args) Orders the table using the sortkeys returning a new allocated table.static TableJCudfSerialization.readAndConcat(JCudfSerialization.SerializedTableHeader[] headers, HostMemoryBuffer[] dataBuffers) static TableTable.readAvro(byte[] buffer) Read Avro formatted data.static TableTable.readAvro(AvroOptions opts, byte[] buffer) Read Avro formatted data.static TableTable.readAvro(AvroOptions opts, byte[] buffer, long offset, long len) static TableTable.readAvro(AvroOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator) Read Avro formatted data.static TableTable.readAvro(AvroOptions opts, DataSource ds) static TableTable.readAvro(AvroOptions opts, HostMemoryBuffer buffer, long offset, long len) Read Avro formatted data.static TableTable.readAvro(AvroOptions opts, File path) Read an Avro file.static TableRead an Avro file using the default AvroOptions.ORCChunkedReader.readChunk()Read a chunk of rows in the given ORC file such that the returning data has total size does not exceed the given read limit.ParquetChunkedReader.readChunk()Read a chunk of rows in the given Parquet file such that the returning data has total size does not exceed the given read limit.static TableRead CSV formatted data using the default CSVOptions.static TableTable.readCSV(Schema schema, CSVOptions opts, byte[] buffer) Read CSV formatted data.static TableTable.readCSV(Schema schema, CSVOptions opts, byte[] buffer, long offset, long len) static TableTable.readCSV(Schema schema, CSVOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator) Read CSV formatted data.static TableTable.readCSV(Schema schema, CSVOptions opts, DataSource ds) static TableTable.readCSV(Schema schema, CSVOptions opts, HostMemoryBuffer buffer, long offset, long len) Read CSV formatted data.static TableTable.readCSV(Schema schema, CSVOptions opts, File path) Read a CSV file.static TableRead a CSV file using the default CSVOptions.static TableRead JSON formatted data using the default JSONOptions.static TableTable.readJSON(Schema schema, JSONOptions opts, byte[] buffer) Read JSON formatted data.static TableTable.readJSON(Schema schema, JSONOptions opts, byte[] buffer, long offset, long len) static TableTable.readJSON(Schema schema, JSONOptions opts, byte[] buffer, long offset, long len, int emptyRowCount) static TableTable.readJSON(Schema schema, JSONOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator) Read JSON formatted data.static TableTable.readJSON(Schema schema, JSONOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator, int emptyRowCount) Deprecated.This method is deprecated since emptyRowCount is not used.static TableTable.readJSON(Schema schema, JSONOptions opts, DataSource ds) Read JSON formatted data.static TableTable.readJSON(Schema schema, JSONOptions opts, DataSource ds, int emptyRowCount) Deprecated.This method is deprecated since emptyRowCount is not used.static TableTable.readJSON(Schema schema, JSONOptions opts, HostMemoryBuffer buffer, long offset, long len) Read JSON formatted data.static TableTable.readJSON(Schema schema, JSONOptions opts, HostMemoryBuffer buffer, long offset, long len, int emptyRowCount) Deprecated.This method is deprecated since emptyRowCount is not used.static TableTable.readJSON(Schema schema, JSONOptions opts, File path) Read a JSON file.static TableRead a JSON file using the default JSONOptions.static TableTable.readORC(byte[] buffer) Read ORC formatted data.static TableTable.readORC(ORCOptions opts, byte[] buffer) Read ORC formatted data.static TableTable.readORC(ORCOptions opts, byte[] buffer, long offset, long len) static TableTable.readORC(ORCOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator) Read ORC formatted data.static TableTable.readORC(ORCOptions opts, DataSource ds) static TableTable.readORC(ORCOptions opts, HostMemoryBuffer buffer, long offset, long len) Read ORC formatted data.static TableTable.readORC(ORCOptions opts, File path) Read a ORC file.static TableRead a ORC file using the default ORCOptions.static TableTable.readParquet(byte[] buffer) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, byte[] buffer) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, byte[] buffer, long offset, long len) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, byte[] buffer, long offset, long len, HostMemoryAllocator hostMemoryAllocator) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, DataSource ds) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, HostMemoryBuffer... buffers) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, HostMemoryBuffer buffer, long offset, long len) Read parquet formatted data.static TableTable.readParquet(ParquetOptions opts, File path) Read a Parquet file.static TableTable.readParquet(File path) Read a Parquet file using the default ParquetOptions.TableWithMeta.releaseTable()Get the table out of this metadata.Table.repeat(int count) Repeat each row of this table count times.Table.repeat(ColumnView counts) Create a new table by repeating each row of this table.Table.GroupByOperation.replaceNulls(ReplacePolicyWithColumn... replacements) Table.sample(long n, boolean replacement, long seed) Gather `n` samples from table randomly Note: does not preserve the ordering Example: input: {col1: {1, 2, 3, 4, 5}, col2: {6, 7, 8, 9, 10}} n: 3 replacement: false output: {col1: {3, 1, 4}, col2: {8, 6, 9}} replacement: true output: {col1: {3, 1, 1}, col2: {8, 6, 6}} throws "logic_error" if `n` > table rows and `replacement` == FALSE.Table.GroupByOperation.scan(GroupByScanAggregationOnColumn... aggregates) Table.scatter(ColumnView scatterMap, Table target) Scatters values from the source table into the target table out-of-place, returning a new result table.static TableTable.scatter(Scalar[] source, ColumnView scatterMap, Table target) Scatters values from the source rows into the target table out-of-place, returning a new result table.final TableColumnView.stringSplit(RegexProgram regexProg) Returns a list of columns by splitting each string using the specified regex program pattern.final TableColumnView.stringSplit(RegexProgram regexProg, int limit) Returns a list of columns by splitting each string using the specified regex program pattern.final TableColumnView.stringSplit(String delimiter) Returns a list of columns by splitting each string using the specified string literal delimiter.final TableColumnView.stringSplit(String pattern, boolean splitByRegex) Deprecated.final TableColumnView.stringSplit(String delimiter, int limit) Returns a list of columns by splitting each string using the specified string literal delimiter.final TableColumnView.stringSplit(String pattern, int limit, boolean splitByRegex) Deprecated.Methods in ai.rapids.cudf with parameters of type TableModifier and TypeMethodDescriptionstatic TableAggregation128Utils.combineInt64SumChunks(Table chunks, DType type) Reassemble a column of 128-bit values from a table of four 64-bit integer columns and check for overflow.static TableTable.concatenate(Table... tables) Concatenate multiple tables together to form a single table.Table.conditionalFullJoinGatherMaps(Table rightTable, CompiledExpression condition) Computes the gather maps that can be used to manifest the result of a full join between two tables when a conditional expression is true.Table.conditionalInnerJoinGatherMaps(Table rightTable, CompiledExpression condition) Computes the gather maps that can be used to manifest the result of an inner join between two tables when a conditional expression is true.Table.conditionalInnerJoinGatherMaps(Table rightTable, CompiledExpression condition, long outputRowCount) Computes the gather maps that can be used to manifest the result of an inner join between two tables when a conditional expression is true.longTable.conditionalInnerJoinRowCount(Table rightTable, CompiledExpression condition) Computes the number of rows from the result of an inner join between two tables when a conditional expression is true.Table.conditionalLeftAntiJoinGatherMap(Table rightTable, CompiledExpression condition) Computes the gather map that can be used to manifest the result of a left anti join between two tables when a conditional expression is true.Table.conditionalLeftAntiJoinGatherMap(Table rightTable, CompiledExpression condition, long outputRowCount) Computes the gather map that can be used to manifest the result of a left anti join between two tables when a conditional expression is true.longTable.conditionalLeftAntiJoinRowCount(Table rightTable, CompiledExpression condition) Computes the number of rows from the result of a left anti join between two tables when a conditional expression is true.Table.conditionalLeftJoinGatherMaps(Table rightTable, CompiledExpression condition) Computes the gather maps that can be used to manifest the result of a left join between two tables when a conditional expression is true.Table.conditionalLeftJoinGatherMaps(Table rightTable, CompiledExpression condition, long outputRowCount) Computes the gather maps that can be used to manifest the result of a left join between two tables when a conditional expression is true.longTable.conditionalLeftJoinRowCount(Table rightTable, CompiledExpression condition) Computes the number of rows from the result of a left join between two tables when a conditional expression is true.Table.conditionalLeftSemiJoinGatherMap(Table rightTable, CompiledExpression condition) Computes the gather map that can be used to manifest the result of a left semi join between two tables when a conditional expression is true.Table.conditionalLeftSemiJoinGatherMap(Table rightTable, CompiledExpression condition, long outputRowCount) Computes the gather map that can be used to manifest the result of a left semi join between two tables when a conditional expression is true.longTable.conditionalLeftSemiJoinRowCount(Table rightTable, CompiledExpression condition) Computes the number of rows from the result of a left semi join between two tables when a conditional expression is true.Joins two tables all of the left against all of the right.voidPrint the contents of a table.voidArrowIPCWriterOptions.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.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.Table.innerDistinctJoinGatherMaps(Table rightKeys, boolean compareNullsEqual) Computes the gather maps that can be used to manifest the result of an inner equi-join between two tables where the right table is guaranteed to not contain any duplicated join keys.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.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.Table.leftDistinctJoinGatherMap(Table rightKeys, boolean compareNullsEqual) Computes a gather map that can be used to manifest the result of a left equi-join between two tables where the right table is guaranteed to not contain any duplicated join keys.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.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.Table.lowerBound(boolean[] areNullsSmallest, Table valueTable, boolean[] descFlags) Find smallest indices in a sorted table where values should be inserted to maintain order.Table.lowerBound(Table valueTable, OrderByArg... args) Find smallest indices in a sorted table where values should be inserted to maintain order.static TableTable.merge(Table[] tables, OrderByArg... args) Merge multiple already sorted tables keeping the sort order the same.static GatherMap[]Table.mixedFullJoinGatherMaps(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes the gather maps that can be used to manifest the result of a full join between two tables using a mix of equality and inequality conditions.static GatherMap[]Table.mixedInnerJoinGatherMaps(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes the gather maps that can be used to manifest the result of an inner join between two tables using a mix of equality and inequality conditions.static GatherMap[]Table.mixedInnerJoinGatherMaps(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality, MixedJoinSize joinSize) Computes the gather maps that can be used to manifest the result of an inner join between two tables using a mix of equality and inequality conditions.static MixedJoinSizeTable.mixedInnerJoinSize(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes output size information for an inner join between two tables using a mix of equality and inequality conditions.static GatherMapTable.mixedLeftAntiJoinGatherMap(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes the gather map that can be used to manifest the result of a left anti join between two tables using a mix of equality and inequality conditions.static GatherMap[]Table.mixedLeftJoinGatherMaps(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes the gather maps that can be used to manifest the result of a left join between two tables using a mix of equality and inequality conditions.static GatherMap[]Table.mixedLeftJoinGatherMaps(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality, MixedJoinSize joinSize) Computes the gather maps that can be used to manifest the result of a left join between two tables using a mix of equality and inequality conditions.static MixedJoinSizeTable.mixedLeftJoinSize(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes output size information for a left join between two tables using a mix of equality and inequality conditions.static GatherMapTable.mixedLeftSemiJoinGatherMap(Table leftKeys, Table rightKeys, Table leftConditional, Table rightConditional, CompiledExpression condition, NullEquality nullEquality) Computes the gather map that can be used to manifest the result of a left semi join between two tables using a mix of equality and inequality conditions.Table.scatter(ColumnView scatterMap, Table target) Scatters values from the source table into the target table out-of-place, returning a new result table.static TableTable.scatter(Scalar[] source, ColumnView scatterMap, Table target) Scatters values from the source rows into the target table out-of-place, returning a new result table.Table.upperBound(boolean[] areNullsSmallest, Table valueTable, boolean[] descFlags) Find largest indices in a sorted table where values should be inserted to maintain order.Table.upperBound(Table valueTable, OrderByArg... args) Find largest indices in a sorted table where values should be inserted to maintain order.abstract voidWrite out a table.static voidJCudfSerialization.writeToStream(Table t, OutputStream out, long rowOffset, long numRows) Write all or part of a table out in an internal format.Method parameters in ai.rapids.cudf with type arguments of type TableModifier and TypeMethodDescriptionstatic TableTable.merge(List<Table> tables, OrderByArg... args) Merge multiple already sorted tables keeping the sort order the same.Constructors in ai.rapids.cudf with parameters of type Table -
Uses of Table in ai.rapids.cudf.ast
Methods in ai.rapids.cudf.ast with parameters of type TableModifier and TypeMethodDescriptionCompiledExpression.computeColumn(Table table) Compute a new column by applying this AST expression to the specified table.