예제 #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();
 }