Documentation ¶
Index ¶
- func BatchGetRowSample(client *tablestore.TableStoreClient, tableName string)
- func BatchWriteRowSample(client *tablestore.TableStoreClient, tableName string)
- func BoolQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func ComputeSplitPointsBySize(client *tablestore.TableStoreClient, tableName string)
- func CreateSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
- func CreateTableKeyAutoIncrementSample(client *tablestore.TableStoreClient)
- func CreateTableSample(client *tablestore.TableStoreClient, tableName string)
- func DeleteRowSample(client *tablestore.TableStoreClient, tableName string)
- func DeleteSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
- func DeleteTableSample(client *tablestore.TableStoreClient)
- func DescribeSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
- func DescribeTableSample(client *tablestore.TableStoreClient, tableName string)
- func GeoBoundingBoxQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func GeoDistanceQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func GeoPolygonQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func GetRangeSample(client *tablestore.TableStoreClient, tableName string)
- func GetRowSample(client *tablestore.TableStoreClient, tableName string)
- func GetStreamRecordSample(client *tablestore.TableStoreClient, tableName string)
- func ListSearchIndex(client *tablestore.TableStoreClient, tableName string)
- func ListTableSample(client *tablestore.TableStoreClient)
- func MatchAllQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func MatchPhraseQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func MatchQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func PrefixQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func PutRowSample(client *tablestore.TableStoreClient, tableName string)
- func PutRowWithKeyAutoIncrementSample(client *tablestore.TableStoreClient)
- func RangeQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func TermQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
- func UpdateRowSample(client *tablestore.TableStoreClient, tableName string)
- func UpdateTableSample(client *tablestore.TableStoreClient, tableName string)
- func WildcardQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchGetRowSample ¶
func BatchGetRowSample(client *tablestore.TableStoreClient, tableName string)
func BatchWriteRowSample ¶
func BatchWriteRowSample(client *tablestore.TableStoreClient, tableName string)
func BoolQuery ¶
func BoolQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 通过BoolQuery进行复合条件查询。
func ComputeSplitPointsBySize ¶
func ComputeSplitPointsBySize(client *tablestore.TableStoreClient, tableName string)
func CreateSearchIndex ¶
func CreateSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
*
*创建一个SearchIndex,包含Col_Keyword和Col_Long两列,类型分别设置为字符串(KEYWORD)和整型(LONG)。
func CreateTableKeyAutoIncrementSample ¶
func CreateTableKeyAutoIncrementSample(client *tablestore.TableStoreClient)
func CreateTableSample ¶
func CreateTableSample(client *tablestore.TableStoreClient, tableName string)
func DeleteRowSample ¶
func DeleteRowSample(client *tablestore.TableStoreClient, tableName string)
func DeleteSearchIndex ¶
func DeleteSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
func DeleteTableSample ¶
func DeleteTableSample(client *tablestore.TableStoreClient)
func DescribeSearchIndex ¶
func DescribeSearchIndex(client *tablestore.TableStoreClient, tableName string, indexName string)
func DescribeTableSample ¶
func DescribeTableSample(client *tablestore.TableStoreClient, tableName string)
func GeoBoundingBoxQuery ¶
func GeoBoundingBoxQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- Col_GeoPoint是GeoPoint类型,查询表中Col_GeoPoint这一列的值在左上角为"10,0", 右下角为"0,10"的矩形范围内的数据。
func GeoDistanceQuery ¶
func GeoDistanceQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_GeoPoint这一列的值距离中心点不超过一定距离的数据。
func GeoPolygonQuery ¶
func GeoPolygonQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_GeoPoint这一列的值在一个给定多边形范围内的数据。
func GetRangeSample ¶
func GetRangeSample(client *tablestore.TableStoreClient, tableName string)
func GetRowSample ¶
func GetRowSample(client *tablestore.TableStoreClient, tableName string)
func GetStreamRecordSample ¶
func GetStreamRecordSample(client *tablestore.TableStoreClient, tableName string)
func ListSearchIndex ¶
func ListSearchIndex(client *tablestore.TableStoreClient, tableName string)
func ListTableSample ¶
func ListTableSample(client *tablestore.TableStoreClient)
func MatchAllQuery ¶
func MatchAllQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
func MatchPhraseQuery ¶
func MatchPhraseQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_Text这一列的值能够匹配"hangzhou shanghai"的数据,匹配条件为短语匹配(要求短语完整的按照顺序匹配),返回匹配到的总行数和一些匹配成功的行。
func MatchQuery ¶
func MatchQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_Keyword这一列的值能够匹配"hangzhou"的数据,返回匹配到的总行数和一些匹配成功的行。
func PrefixQuery ¶
func PrefixQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_Keyword这一列前缀为"hangzhou"的数据。
func PutRowSample ¶
func PutRowSample(client *tablestore.TableStoreClient, tableName string)
func PutRowWithKeyAutoIncrementSample ¶
func PutRowWithKeyAutoIncrementSample(client *tablestore.TableStoreClient)
func RangeQuery ¶
func RangeQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_Long这一列大于3的数据,结果按照Col_Long这一列的值逆序排序。
func TermQuery ¶
func TermQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 查询表中Col_Keyword这一列精确匹配"hangzhou"的数据。
func UpdateRowSample ¶
func UpdateRowSample(client *tablestore.TableStoreClient, tableName string)
func UpdateTableSample ¶
func UpdateTableSample(client *tablestore.TableStoreClient, tableName string)
func WildcardQuery ¶
func WildcardQuery(client *tablestore.TableStoreClient, tableName string, indexName string)
*
- 使用通配符查询,查询表中Col_Keyword这一列的值匹配"hang*u"的数据
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.