public Scanner getScanner(TableMeta meta, Schema schema, Fragment fragment) throws IOException { return getScanner(meta, schema, fragment, schema); }
public Scanner getFileScanner(TableMeta meta, Schema schema, Path path, FileStatus status) throws IOException { FileFragment fragment = new FileFragment(path.getName(), path, 0, status.getLen()); return getScanner(meta, schema, fragment); }
public static synchronized SeekableScanner getSeekableScanner( TajoConf conf, TableMeta meta, Schema schema, FileFragment fragment, Schema target) throws IOException { return (SeekableScanner)getStorageManager(conf, null, false).getScanner(meta, schema, fragment, target); }
private Scanner getNextScanner() throws IOException { if (iterator.hasNext()) { currentFragment = iterator.next(); currentScanner = StorageManagerFactory.getStorageManager((TajoConf)conf).getScanner(meta, schema, currentFragment, target); currentScanner.init(); return currentScanner; } else { return null; } }
public Scanner getScanner(TableMeta meta, Schema schema, FragmentProto fragment) throws IOException { return getScanner(meta, schema, FragmentConvertor.convert(conf, meta.getStoreType(), fragment), schema); }
public Scanner getScanner(TableMeta meta, Schema schema, FragmentProto fragment, Schema target) throws IOException { return getScanner(meta, schema, FragmentConvertor.convert(conf, meta.getStoreType(), fragment), target); }