public long getOffset() throws IOException { throw new IOException(new NotImplementedException()); } }
/** * Resets the scanner */ @Override public void reset() throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public Schema getSchema() { throw new TajoRuntimeException(new NotImplementedException()); } }
/** * Resets the scanner */ @Override public void reset() throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public TupleRange[] getInsertSortRanges(OverridableConf queryContext, TableDesc tableDesc, Schema inputSchema, SortSpec[] sortSpecs, TupleRange dataRange) throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public Path commitTable(OverridableConf queryContext, ExecutionBlockId finalEbId, LogicalPlan plan, Schema schema, TableDesc tableDesc) throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public List<TajoMasterInfo> getMasters() throws IOException { throw new TajoRuntimeException(new NotImplementedException()); } }
@Override public TupleRange[] getInsertSortRanges(OverridableConf queryContext, TableDesc tableDesc, Schema inputSchema, SortSpec[] sortSpecs, TupleRange dataRange) throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public List<TajoMasterInfo> getMasters() throws IOException { throw new TajoRuntimeException(new NotImplementedException()); } }
@Override public Schema getSchema() { throw new TajoRuntimeException(new NotImplementedException()); } }
@Override public TupleRange[] getInsertSortRanges(OverridableConf queryContext, TableDesc tableDesc, Schema inputSchema, SortSpec[] sortSpecs, TupleRange dataRange) throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public Path commitTable(OverridableConf queryContext, ExecutionBlockId finalEbId, LogicalPlan plan, Schema schema, TableDesc tableDesc) throws IOException { throw new TajoRuntimeException(new NotImplementedException()); }
@Override public boolean copyFromChannel(ScatteringByteChannel channel) throws IOException { switch (dataFormat) { case BuiltinStorages.DRAW: return fillDrawBuffer(channel); default: throw new TajoInternalError(new NotImplementedException("Heap memory writer not implemented yet")); } }
@Override public boolean copyFromChannel(ScatteringByteChannel channel) throws IOException { switch (dataFormat) { case BuiltinStorages.DRAW: return fillDrawBuffer(channel); default: throw new TajoInternalError(new NotImplementedException("Heap memory writer not implemented yet")); } }
@Override public Expr visitAlterTable(Context context, Stack<Expr> stack, AlterTable expr) throws TajoException { if (expr.getAlterTableOpType() == AlterTableOpType.ADD_PARTITION) { context.state.addVerification(new NotImplementedException("ADD PARTITION")); } return expr; } }
@Override public Expr visitAlterTable(Context context, Stack<Expr> stack, AlterTable expr) throws TajoException { if (expr.getAlterTableOpType() == AlterTableOpType.ADD_PARTITION) { context.state.addVerification(new NotImplementedException("ADD PARTITION")); } return expr; } }
public DelimitedLineReader(Configuration conf, final FileFragment fragment, int bufferSize) throws IOException { this.fragment = fragment; this.conf = conf; this.factory = new CompressionCodecFactory(conf); this.codec = factory.getCodec(fragment.getPath()); this.bufferSize = bufferSize; if (this.codec instanceof SplittableCompressionCodec) { // bzip2 does not support multi-thread model throw new TajoRuntimeException( new NotImplementedException(this.getClass() + " does not support " + this.codec.getDefaultExtension())); } }
public static Field convert(Column column) { if (column.type.isStruct() && column.getTypeDesc().getNestedSchema() == null) { throw new TajoRuntimeException(new NotImplementedException("record type projection")); } return new Field(toQualifiedIdentifier(column.getQualifiedName()), column.type); }
public static void prohibitNestedRecordProjection(Projectable projectable) throws TajoException { for (Target t : projectable.getTargets()) { if (t.getEvalTree().getValueType().getType() == TajoDataTypes.Type.RECORD) { throw new NotImplementedException("record field projection"); } } }
public static void prohibitNestedRecordProjection(Projectable projectable) throws TajoException { for (Target t : projectable.getTargets()) { if (t.getEvalTree().getValueType().isStruct()) { throw new NotImplementedException("record field projection"); } } }