Package org.apache.avro.io

Examples of org.apache.avro.io.ValidatingEncoder


  }

  @Test
  public void test() throws IOException {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Encoder e = new ValidatingEncoder(schema, new BinaryEncoder(baos));
   
    ResolvingGrammarGenerator.encode(e, schema, data);
  }
View Full Code Here

TOP

Related Classes of org.apache.avro.io.ValidatingEncoder

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.