Package org.kitesdk.data.hbase.avro.io

Examples of org.kitesdk.data.hbase.avro.io.ColumnEncoder


    // Use a special Avro encoder that has special handling for int, long,
    // and String types. See ColumnEncoder for more information.
    if (fieldAvroSchema.getType() == Type.INT
        || fieldAvroSchema.getType() == Type.LONG
        || fieldAvroSchema.getType() == Type.STRING) {
      return new ColumnEncoder(out);
    } else {
      return EncoderFactory.get().binaryEncoder(out, null);
    }
  }
View Full Code Here

TOP

Related Classes of org.kitesdk.data.hbase.avro.io.ColumnEncoder

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.