Package com.alibaba.wasp.protobuf.generated.MetaProtos

Examples of com.alibaba.wasp.protobuf.generated.MetaProtos.ScanActionProto


        startKey, endKey);
    action.addEntityColumn("test", "f", "c", DataType.STRING, Bytes.toBytes(""));
    action.addEntityColumn("test", "f", "c", DataType.STRING, Bytes.toBytes(""));
    action.setBatch(batch);
    action.setLimit(limit);
    ScanActionProto proto = ProtobufUtil.convertScanAction(action);
    action = (ScanAction) ProtobufUtil.convertScanAction(proto);
    Assert.assertTrue(readerMode == action.getReaderMode());
    Assert.assertTrue(indexTableName.equals(action.getIndexTableName()));
    Assert.assertTrue(entityTableName.equals(action.getEntityTableName()));
    Assert.assertTrue(Bytes.toString(action.getStartKey()).equals("000"));
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.protobuf.generated.MetaProtos.ScanActionProto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.