Class CsvIOParseResult<T>

  • All Implemented Interfaces:
    org.apache.beam.sdk.values.POutput

    public class CsvIOParseResult<T>
    extends java.lang.Object
    implements org.apache.beam.sdk.values.POutput
    The CsvIOParseResult and CsvIOParseError PCollection results of parsing CSV records. Use getOutput() and getErrors() to apply these results in a pipeline.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<org.apache.beam.sdk.values.TupleTag<?>,​org.apache.beam.sdk.values.PValue> expand()  
      void finishSpecifyingOutput​(java.lang.String transformName, org.apache.beam.sdk.values.PInput input, org.apache.beam.sdk.transforms.PTransform<?,​?> transform)  
      org.apache.beam.sdk.values.PCollection<CsvIOParseError> getErrors()
      The CsvIOParseError PCollection as a result of errors associated with parsing CSV records.
      org.apache.beam.sdk.values.PCollection<T> getOutput()
      The CsvIOParseResult PCollection as a result of successfully parsing CSV records.
      org.apache.beam.sdk.Pipeline getPipeline()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getOutput

        public org.apache.beam.sdk.values.PCollection<T> getOutput()
        The CsvIOParseResult PCollection as a result of successfully parsing CSV records.
      • getErrors

        public org.apache.beam.sdk.values.PCollection<CsvIOParseError> getErrors()
        The CsvIOParseError PCollection as a result of errors associated with parsing CSV records.
      • getPipeline

        public org.apache.beam.sdk.Pipeline getPipeline()
        Specified by:
        getPipeline in interface org.apache.beam.sdk.values.POutput
      • expand

        public java.util.Map<org.apache.beam.sdk.values.TupleTag<?>,​org.apache.beam.sdk.values.PValue> expand()
        Specified by:
        expand in interface org.apache.beam.sdk.values.POutput
      • finishSpecifyingOutput

        public void finishSpecifyingOutput​(java.lang.String transformName,
                                           org.apache.beam.sdk.values.PInput input,
                                           org.apache.beam.sdk.transforms.PTransform<?,​?> transform)
        Specified by:
        finishSpecifyingOutput in interface org.apache.beam.sdk.values.POutput