Exemplo 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();
 }
Exemplo n.º 2
0
 public SerializerAvro(@Nullable final Dictionary<URI> dictionary) {
   this.dictionary = dictionary;
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }