public class JsonFileReader extends Object implements AutoCloseable, DictionaryProvider
DictionaryProvider.MapDictionaryProvider
コンストラクタと説明 |
---|
JsonFileReader(File inputFile,
BufferAllocator allocator) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close() |
Dictionary |
lookup(long id) |
VectorSchemaRoot |
read() |
boolean |
read(VectorSchemaRoot root) |
Schema |
start() |
public JsonFileReader(File inputFile, BufferAllocator allocator) throws com.fasterxml.jackson.core.JsonParseException, IOException
com.fasterxml.jackson.core.JsonParseException
IOException
public Dictionary lookup(long id)
lookup
インタフェース内 DictionaryProvider
public Schema start() throws com.fasterxml.jackson.core.JsonParseException, IOException
com.fasterxml.jackson.core.JsonParseException
IOException
public boolean read(VectorSchemaRoot root) throws IOException
IOException
public VectorSchemaRoot read() throws IOException
IOException
public void close() throws IOException
close
インタフェース内 AutoCloseable
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.