接口介绍
主要类说明:
接口org.apache.hadoop.hbase.filestream.client.FSTableInterface常用接口说明:
方法
说明
void put(FSPut fsPut)
向HFS表中插入数据
void put(List fsPuts)
向HFS表中批量插入数据
FSResult get(FSGet fsGet)
从HFS表中读取数据
FSResult[] get(List fsGets)
从HFS表中读取多行数据
void delete(FSDelete fsDelete)
从HFS表中删除数据
void delete(List fsDeletes)
从HFS表中删除多行数据
void close()
关闭表对象
org.apache.hadoop.hbase.filestream.client.FSTable是org.apache.hadoop.hbase.filestream.client.FSTableInterface接口的实现类。
org.apache.hadoop.hbase.filestream.client.FSHColumnDescriptor继承自org.apache.hadoop.hbase.HColumnDescriptor,新增如下接口:
方法
说明
public void setFileColumn()
设置这个列族为存储文件的列族。
public void setFileThreshold(int fileThreshold)
设置存储文件大小的阈值。
org.apache.hadoop.h