ColumnFilterOptions#

public abstract class ColumnFilterOptions#

Base options class for input formats that can filter columns.

Subclassed by ai.rapids.cudf.AvroOptions, ai.rapids.cudf.CSVOptions, ai.rapids.cudf.JSONOptions, ai.rapids.cudf.ORCOptions, ai.rapids.cudf.ParquetOptions

Constructor Summary

Protected Constructors

protected ColumnFilterOptions(Builder<?> builder)#
public static class Builder<T extends Builder>#

Method Summary

includeColumn(Collection<String> names)

Include one or more specific columns.

includeColumn(String... names)

Include one or more specific columns.

Methods

public T includeColumn(String... names)#

Include one or more specific columns.

Any column not included will not be read.

Parameters:

names – the name of the column, or more than one if you want.

public T includeColumn(Collection<String> names)#

Include one or more specific columns.

Any column not included will not be read.

Parameters:

names – the name of the column, or more than one if you want.