@Test public void construction() throws Exception { prepareConstruction(); HBaseAccessor accessor = new HBaseAccessor(); accessor.initialize(context); PowerMockito.verifyNew(HBaseTupleDescription.class).withArguments(context); }
@Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); split = null; scanStartKey = HConstants.EMPTY_START_ROW; scanEndKey = HConstants.EMPTY_END_ROW; }
HBaseAccessor extends BasePlugin implements Accessor { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); split = null; scanStartKey = HConstants.EMPTY_START_ROW; scanEndKey = HConstants.EMPTY_END_ROW; } }
HBaseAccessor extends BasePlugin implements Accessor { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); split = null; scanStartKey = HConstants.EMPTY_START_ROW; scanEndKey = HConstants.EMPTY_END_ROW; }  }
HBaseAccessor extends BasePlugin implements Accessor { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); split = null; scanStartKey = HConstants.EMPTY_START_ROW; scanEndKey = HConstants.EMPTY_END_ROW; }  @Override void initialize(RequestContext requestContext); @Override boolean openForRead(); @Override void closeForRead(); @Override boolean openForWrite(); @Override boolean writeNextObject(OneRow onerow); @Override void closeForWrite(); @Override OneRow readNextObject(); }
HBaseAccessor extends BasePlugin implements Accessor { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); split = null; scanStartKey = HConstants.EMPTY_START_ROW; scanEndKey = HConstants.EMPTY_END_ROW; }  @Override void initialize(RequestContext requestContext); @Override boolean openForRead(); @Override void closeForRead(); @Override boolean openForWrite(); @Override boolean writeNextObject(OneRow onerow); @Override void closeForWrite(); @Override OneRow readNextObject();  }