org.apache.hadoop.hbase.regionserver.Store.getSmallestReadPoint()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(13.3k)|赞(0)|评价(0)|浏览(165)

本文整理了Java中org.apache.hadoop.hbase.regionserver.Store.getSmallestReadPoint()方法的一些代码示例,展示了Store.getSmallestReadPoint()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Store.getSmallestReadPoint()方法的具体详情如下:
包路径:org.apache.hadoop.hbase.regionserver.Store
类名称:Store
方法名:getSmallestReadPoint

Store.getSmallestReadPoint介绍

暂无

代码示例

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, Collections.singletonList(memstoreScanner),
             ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(), HConstants.OLDEST_TIMESTAMP);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                       List<? extends KeyValueScanner> scanners, ScanType scanType,
                       long earliestPutTs, InternalScanner s,
                       CompactionRequest request) throws IOException {
 LOG.info("preCompact, filter using PayloadDataFilter");
 Scan scan = new Scan();
 scan.setFilter(new PayloadDataFilter(c.getEnvironment(), System.currentTimeMillis(), prefixLength,
                    topicMetadataCache));
 return new StoreScanner(store, store.getScanInfo(), scan, scanners, scanType, store.getSmallestReadPoint(),
             earliestPutTs);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

代码示例来源:origin: caskdata/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

代码示例来源:origin: cdapio/cdap

@Override
public InternalScanner preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store,
                      KeyValueScanner memstoreScanner, InternalScanner s) throws IOException {
 LOG.info("preFlush, filter using MessageDataFilter");
 TransactionVisibilityState txVisibilityState = txStateCache.getLatestState();
 Scan scan = new Scan();
 scan.setFilter(new MessageDataFilter(c.getEnvironment(), System.currentTimeMillis(),
                    prefixLength, topicMetadataCache, txVisibilityState));
 return new LoggingInternalScanner("MessageDataFilter", "preFlush",
                  new StoreScanner(store, store.getScanInfo(), scan,
                           Collections.singletonList(memstoreScanner),
                           ScanType.COMPACT_DROP_DELETES, store.getSmallestReadPoint(),
                           HConstants.OLDEST_TIMESTAMP), txVisibilityState);
}

相关文章