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

Method toProtobuf

src/CompareFilter.java:77–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 protected final FilterPB.CompareFilter toProtobuf() {
78 final FilterPB.CompareFilter.Builder builder =
79 FilterPB.CompareFilter.newBuilder();
80 final ComparatorPB.Comparator comparator_pb = comparator.toProtobuf();
81
82 if (comparator_pb != null) {
83 builder.setComparator(comparator_pb);
84 }
85
86 return builder
87 .setCompareOp(HBasePB.CompareType.valueOf(compare_op.name()))
88 .build();
89 }
90
91 @Override
92 void serializeOld(ChannelBuffer buf) {

Callers 15

serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected