TableSource<T> projectFields(int fields)
TableSourcethat projects its output to the given field indexes. The field indexes relate to the physical poduced data type (
TableSource.getProducedDataType()) and not to the table schema (
The table schema (
TableSource.getTableSchema() of the
TableSource copy must
not be modified by this method, but only the produced data type (
TableSource.getProducedDataType()) and the produced
IMPORTANT: This method must return a true copy and must not modify the original table source object.
fields- The indexes of the fields to return.
TableSourcethat projects its output.
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.