zoukankan      html  css  js  c++  java
  • <HBase><Scan>

    Overview

    • The Scan operation for HBase.

    Scan API

    • All operations are identical to Get with the exception of instantiation.
    • Rather than specifying a single row, an optional startRow and stopRow may be defined.
    • If rows are not specified, the Scanner will ierator over all rows.
    • You can constrain the scan to specific column families by calling addFamily for each family to retrieve on your Scan instance. Also u can call addCollumn for each column to retrieve.
    • To only retrieve columns within a specific range of version timestamps, call setTimeRange.
    • To only retrieve columns with a specific timestamp, call setTimestamp.
    • To limit the number of versions of each column to be returned, call setMaxVersions.
    • To limit the maximum number of values returned for each call to next(), call setBatch.
    • To add a filter, call setFilter.
    • U can use setLimit(int) to tell RS how many rows u want.

    FYI

    满地都是六便士,她却抬头看见了月亮。
  • 相关阅读:
    高级查询相关练习
    高级查询
    CRUD简单查询
    eclipse 实际运用
    控制台输入与Math Random的基本使用
    调用方法
    jQuery 基础语法
    Java第二课 分支与循环
    Java第一课
    网页项目制作收获2
  • 原文地址:https://www.cnblogs.com/wttttt/p/7080049.html
Copyright © 2011-2022 走看看