TableSource<T> projectFields(int fields)
TableSourcethat projects its output to the given field indexes. The field indexes relate to the physical return type (
TableSource.getReturnType()) 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 return type (
TableSource.getReturnType()) and the
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–2020 The Apache Software Foundation. All rights reserved.