Ejemplo n.º 1
0
 public SerializerAvro(String fileName) throws IOException {
   this.dictionary = new Dictionary<URI>(URI.class, fileName);
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }
Ejemplo n.º 2
0
 public SerializerAvro(@Nullable final Dictionary<URI> dictionary) {
   this.dictionary = dictionary;
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }