Skip to content

Commit 6e13a23

Browse files
committed
implementes count in column family
1 parent d2e3204 commit 6e13a23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hbase-driver/src/main/java/org/jnosql/diana/hbase/column/HBaseColumnFamilyManager.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ public List<ColumnEntity> select(ColumnQuery query) {
133133
return Stream.of(findById(condition)).map(EntityUnit::new).filter(EntityUnit::isNotEmpty).map(EntityUnit::toEntity).collect(toList());
134134
}
135135

136+
@Override
137+
public long count(String columnFamily) {
138+
throw new UnsupportedOperationException("Hbase does not have support to count method");
139+
}
140+
136141

137142
@Override
138143
public void close() {

0 commit comments

Comments
 (0)