public ByteSequence read(Location location) throws IOException, IllegalStateException { DataFile dataFile = getDataFile(location); DataFileAccessor reader = accessorPool.openDataFileAccessor(dataFile); ByteSequence rc = null; try { rc = reader.readRecord(location); } finally { accessorPool.closeDataFileAccessor(reader); } return rc; }
public ByteSequence read(Location location) throws IOException, IllegalStateException { DataFile dataFile = getDataFile(location); DataFileAccessor reader = accessorPool.openDataFileAccessor(dataFile); ByteSequence rc = null; try { rc = reader.readRecord(location); } finally { accessorPool.closeDataFileAccessor(reader); } return rc; }
public ByteSequence read(Location location) throws IOException, IllegalStateException { DataFile dataFile = getDataFile(location); DataFileAccessor reader = accessorPool.openDataFileAccessor(dataFile); ByteSequence rc = null; try { rc = reader.readRecord(location); } finally { accessorPool.closeDataFileAccessor(reader); } return rc; }
public ByteSequence read(Location location) throws IOException, IllegalStateException { DataFile dataFile = getDataFile(location); DataFileAccessor reader = accessorPool.openDataFileAccessor(dataFile); ByteSequence rc = null; try { rc = reader.readRecord(location); } finally { accessorPool.closeDataFileAccessor(reader); } return rc; }