Class BeamSetOperatorsTransforms.BeamSqlRow2KvFn

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData, org.apache.beam.sdk.transforms.ProcessFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>, org.apache.beam.sdk.transforms.SerializableFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>
    Enclosing class:
    BeamSetOperatorsTransforms

    public static class BeamSetOperatorsTransforms.BeamSqlRow2KvFn
    extends org.apache.beam.sdk.transforms.SimpleFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>
    Transform a BeamSqlRow to a KV<BeamSqlRow, BeamSqlRow>.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BeamSqlRow2KvFn()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row> apply​(org.apache.beam.sdk.values.Row input)  
      • Methods inherited from class org.apache.beam.sdk.transforms.SimpleFunction

        fromSerializableFunctionWithOutputType
      • Methods inherited from class org.apache.beam.sdk.transforms.InferableFunction

        fromProcessFunctionWithOutputType, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData
      • Methods inherited from class java.lang.Object

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

      • BeamSqlRow2KvFn

        public BeamSqlRow2KvFn()
    • Method Detail

      • apply

        public org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row> apply​(org.apache.beam.sdk.values.Row input)
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.ProcessFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.SerializableFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>
        Overrides:
        apply in class org.apache.beam.sdk.transforms.SimpleFunction<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.KV<org.apache.beam.sdk.values.Row,​org.apache.beam.sdk.values.Row>>