Package com.adgear.anoa.avro.encode

Examples of com.adgear.anoa.avro.encode.StringListEncoder


   * @param recordSchema The Schema of the records returned by the given upstream Provider.
   */
  public AvroGenericToStringList(Provider<GenericRecord> provider, Schema recordSchema) {
    super(provider,
          recordSchema,
          new StringListEncoder(),
          new GenericDatumTextWriter<GenericRecord>(recordSchema));
  }
View Full Code Here


    extends AvroToSchemalessBase<R, List<String>> {

  public AvroSpecificToStringList(AvroProvider<R> provider) {
    super(provider,
          provider.getAvroSchema(),
          new StringListEncoder(),
          new SpecificDatumTextWriter<R>(provider.getAvroSchema()));
  }
View Full Code Here

   * @param recordClass The class object of the records returned by the given upstream Provider.
   */
  public AvroSpecificToStringList(Provider<R> provider, Class<R> recordClass) {
    super(provider,
          SpecificData.get().getSchema(recordClass),
          new StringListEncoder(),
          new SpecificDatumTextWriter<>(recordClass));
  }
View Full Code Here

TOP

Related Classes of com.adgear.anoa.avro.encode.StringListEncoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.