Пример #1
0
 public SerializerAvro(String fileName) throws IOException {
   this.dictionary = new Dictionary<URI>(URI.class, fileName);
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }
Пример #2
0
 public SerializerAvro(@Nullable final Dictionary<URI> dictionary) {
   this.dictionary = dictionary;
   this.factory = Data.getValueFactory();
   this.datatypeFactory = Data.getDatatypeFactory();
 }