MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / toProtobuf

Method toProtobuf

src/BitComparator.java:79–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78
79 @Override
80 ComparatorPB.Comparator toProtobuf() {
81 ByteString byte_string = ComparatorPB
82 .BitComparator
83 .newBuilder()
84 .setComparable(
85 ComparatorPB
86 .ByteArrayComparable
87 .newBuilder()
88 .setValue(Bytes.wrap(value)))
89 .setBitwiseOp(ComparatorPB
90 .BitComparator.BitwiseOp.valueOf(bit_operator.name()))
91 .build()
92 .toByteString();
93 return super.toProtobuf(byte_string);
94 }
95
96 @Override
97 void serializeOld(ChannelBuffer buf) {

Callers

nothing calls this directly

Calls 2

wrapMethod · 0.95
nameMethod · 0.45

Tested by

no test coverage detected