public class Attribute extends Object implements Filter
TimestreamMeta.attributes
过滤器,查询满足条件的TimestreamMeta限定符和类型 | 方法和说明 |
---|---|
static Attribute |
equal(String key,
boolean value) |
static Attribute |
equal(String key,
byte[] value) |
static Attribute |
equal(String key,
ColumnValue value) |
static Attribute |
equal(String key,
double value) |
static Attribute |
equal(String key,
long value) |
static Attribute |
equal(String key,
String value) |
Query |
getQuery() |
static Attribute |
in(String key,
boolean[] valueList) |
static Attribute |
in(String key,
byte[][] valueList) |
static Attribute |
in(String key,
ColumnValue[] valueList) |
static Attribute |
in(String key,
double[] valueList) |
static Attribute |
in(String key,
long[] valueList) |
static Attribute |
in(String key,
String[] valueList) |
static Attribute |
inGeoBoundingBox(String key,
String topLeftPos,
String bottomRightPos)
geo查询:找出经纬度落在指定矩形内的数据
|
static Attribute |
inGeoDistance(String key,
String center,
double distanceInMeter)
geo查询:找出与某个位置某个距离内的数据
|
static Attribute |
inGeoPolygon(String key,
List<String> polygonList)
geo查询:找出落在指定多边形包围起来的图形内的数据
|
static Attribute |
inGeoPolygon(String key,
String[] polygonList)
geo查询:找出落在指定多边形包围起来的图形内的数据
|
static Attribute |
inRange(String key,
byte[] begin,
byte[] end) |
static Attribute |
inRange(String key,
ColumnValue begin,
ColumnValue end) |
static Attribute |
inRange(String key,
double begin,
double end) |
static Attribute |
inRange(String key,
long begin,
long end) |
static Attribute |
inRange(String key,
String begin,
String end) |
static Attribute |
notEqual(String key,
boolean value) |
static Attribute |
notEqual(String key,
byte[] value) |
static Attribute |
notEqual(String key,
ColumnValue value) |
static Attribute |
notEqual(String key,
double value) |
static Attribute |
notEqual(String key,
long value) |
static Attribute |
notEqual(String key,
String value) |
static Attribute |
notIn(String key,
boolean[] valueList) |
static Attribute |
notIn(String key,
byte[][] valueList) |
static Attribute |
notIn(String key,
ColumnValue[] valueList) |
static Attribute |
notIn(String key,
double[] valueList) |
static Attribute |
notIn(String key,
long[] valueList) |
static Attribute |
notIn(String key,
String[] valueList) |
static Attribute |
prefix(String key,
String value)
前缀匹配
|
static Attribute |
wildcard(String key,
String value)
模糊匹配
|
public static Attribute equal(String key, ColumnValue value)
public static Attribute notEqual(String key, ColumnValue value)
public static Attribute in(String key, ColumnValue[] valueList)
public static Attribute notIn(String key, ColumnValue[] valueList)
public static Attribute inRange(String key, ColumnValue begin, ColumnValue end)
public static Attribute inGeoPolygon(String key, List<String> polygonList)
key
- polygonList
- public static Attribute inGeoPolygon(String key, String[] polygonList)
key
- polygonList
- public static Attribute inGeoDistance(String key, String center, double distanceInMeter)
key
- center
- distanceInMeter
- public static Attribute inGeoBoundingBox(String key, String topLeftPos, String bottomRightPos)
key
- topLeftPos
- bottomRightPos
- Copyright © 2019. All Rights Reserved.