Class TextJsonTable

  • All Implemented Interfaces:
    java.io.Serializable, BeamSqlTable

    @Internal
    public class TextJsonTable
    extends TextTable
    TextJsonTable is a BeamSqlTable that reads text files and converts them according to the JSON format.

    Support format is "json".

    Check ObjectMapper javadoc for more info on reading and writing JSON.

    See Also:
    Serialized Form
    • Constructor Detail

      • TextJsonTable

        public TextJsonTable​(org.apache.beam.sdk.schemas.Schema schema,
                             java.lang.String filePattern,
                             org.apache.beam.sdk.extensions.sql.meta.provider.text.TextTableProvider.JsonToRow readConverter,
                             org.apache.beam.sdk.extensions.sql.meta.provider.text.TextTableProvider.RowToJson writerConverter)