@Override public List<TopicId> listTopics(NamespaceId namespaceId) throws IOException { byte[] startKey = MessagingUtils.topicScanKey(namespaceId); byte[] stopKey = Bytes.stopKeyForPrefix(startKey); return listTopics(startKey, stopKey); }
@Override public List<TopicId> listTopics(NamespaceId namespaceId) throws IOException { byte[] startKey = MessagingUtils.topicScanKey(namespaceId); byte[] stopKey = Bytes.stopKeyForPrefix(startKey); return listTopics(startKey, stopKey); }
@Override public List<TopicId> listTopics(NamespaceId namespaceId) throws IOException { byte[] startRow = MessagingUtils.topicScanKey(namespaceId); ScanBuilder scanBuilder = tableUtil.buildScan() .setStartRow(startRow) .setStopRow(Bytes.stopKeyForPrefix(startRow)); return scanTopics(scanBuilder); }
@Override public List<TopicId> listTopics(NamespaceId namespaceId) throws IOException { byte[] startRow = MessagingUtils.topicScanKey(namespaceId); ScanBuilder scanBuilder = tableUtil.buildScan() .setStartRow(startRow) .setStopRow(Bytes.stopKeyForPrefix(startRow)); return scanTopics(scanBuilder); }