Class CsvRowDataDeserializationSchema.Builder

java.lang.Object
org.apache.flink.formats.csv.CsvRowDataDeserializationSchema.Builder
Enclosing class:
CsvRowDataDeserializationSchema

@Internal public static class CsvRowDataDeserializationSchema.Builder extends Object
A builder for creating a CsvRowDataDeserializationSchema.
  • Constructor Details

    • Builder

      public Builder(org.apache.flink.table.types.logical.RowType rowReadType, org.apache.flink.table.types.logical.RowType rowResultType, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> resultTypeInfo)
      Creates a CSV deserialization schema for the given TypeInformation with optional parameters.
      Parameters:
      rowReadType - The RowType used for reading CSV rows.
      rowResultType - The RowType of the produced results. It can be different from the rowReadType if the underlying converter supports the discrepancy (for instance for filtering/projection pushdown).
      resultTypeInfo - The result type info.
    • Builder

      public Builder(org.apache.flink.table.types.logical.RowType rowType, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> resultTypeInfo)
      Creates a CSV deserialization schema for the given TypeInformation with optional parameters.
  • Method Details