public class Attribute extends Object implements Filter
TimestreamMeta.attributes, to query the TimestreamMeta that satisfies the conditions.| 限定符和类型 | 方法和说明 |
|---|---|
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 query: Find data where the latitude and longitude fall within the specified rectangle.
|
static Attribute |
inGeoDistance(String key,
String center,
double distanceInMeter)
Geo query: find data within a certain distance from a specific location
|
static Attribute |
inGeoPolygon(String key,
List<String> polygonList)
Geo query: Find the data within the shape enclosed by the specified polygon.
|
static Attribute |
inGeoPolygon(String key,
String[] polygonList)
Geo query: Find the data within the shape enclosed by the specified polygon.
|
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)
Prefix match
|
static Attribute |
wildcard(String key,
String value)
Fuzzy match
|
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 wildcard(String key, String value)
key - value - 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 © 2025. All Rights Reserved.