| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
static AllCondition |
all()
Returns a new
AllCondition for the specified field and value. |
static BigDecimalMapper |
bigDecimalMapper()
Returns a new
BigDecimalMapper. |
static BigIntegerMapper |
bigIntegerMapper()
Returns a new
BigIntegerMapper. |
static BitemporalCondition |
bitemporal(String field)
Returns a new
BitemporalCondition for the specified field. |
static BitemporalMapper |
bitemporalMapper(String vtFrom,
String vtTo,
String ttFrom,
String ttTo)
Returns a new
BitemporalMapper. |
static BlobMapper |
blobMapper()
Returns a new
BlobMapper. |
static BooleanCondition |
bool()
Returns a new
BooleanCondition. |
static BooleanMapper |
booleanMapper()
Returns a new
BooleanMapper. |
String |
build()
Returns the JSON representation of this
Builder. |
static ClasspathAnalyzer |
classpathAnalyzer(String className)
Returns a new
ClasspathAnalyzer. |
static ContainsCondition |
contains(String field,
Object... values)
Returns a new
ContainsCondition. |
static DateMapper |
dateMapper()
Returns a new
DateMapper. |
static DateRangeCondition |
dateRange(String field)
Returns a new
DateRangeCondition with the specified field reference point. |
static DateRangeMapper |
dateRangeMapper(String from,
String to)
Returns a new
DateRangeMapper. |
static DoubleMapper |
doubleMapper()
Returns a new
DoubleMapper. |
static SimpleSortField |
field(String field)
Returns a new
SimpleSortField for the specified field. |
static FloatMapper |
floatMapper()
Returns a new
FloatMapper. |
static FuzzyCondition |
fuzzy(String field,
String value)
Returns a new
FuzzyCondition for the specified field and value. |
static GeoBBoxCondition |
geoBBox(String field,
double minLongitude,
double maxLongitude,
double minLatitude,
double maxLatitude)
Returns a new
GeoBBoxCondition with the specified field name and bounding box coordinates. |
static GeoDistanceCondition |
geoDistance(String field,
double longitude,
double latitude,
String maxDistance)
Returns a new
GeoDistanceCondition with the specified field reference point. |
static GeoDistanceSortField |
geoDistanceSortField(String mapper,
double longitude,
double latitude)
Returns a new
GeoDistanceSortField for the specified field. |
static GeoPointMapper |
geoPointMapper(String latitude,
String longitude)
Returns a new
GeoPointMapper. |
static Index |
index(String table,
String column)
Returns a new index creation statement using the session's keyspace.
|
static Index |
index(String keyspace,
String table,
String column)
Returns a new index creation statement using the session's keyspace.
|
static InetMapper |
inetMapper()
Returns a new
InetMapper. |
static IntegerMapper |
integerMapper()
Returns a new
IntegerMapper. |
static LongMapper |
longMapper()
Returns a new
LongMapper. |
static LuceneCondition |
lucene(String query)
Returns a new
LuceneCondition with the specified query. |
static MatchCondition |
match(String field,
Object value)
Returns a new
MatchCondition for the specified field and value. |
static NoneCondition |
none()
Returns a new
NoneCondition for the specified field and value. |
static PhraseCondition |
phrase(String field,
String value)
Returns a new
PhraseCondition for the specified field and values. |
static PrefixCondition |
prefix(String field,
String value)
Returns a new
PrefixCondition for the specified field and value. |
static RangeCondition |
range(String field)
Returns a new
RangeCondition for the specified field. |
static RegexpCondition |
regexp(String field,
String value)
Returns a new
RegexpCondition for the specified field and value. |
static Schema |
schema()
Returns a new
Schema. |
static Search |
search()
Returns a new
Search. |
static SnowballAnalyzer |
snowballAnalyzer(String language)
Returns a new
SnowballAnalyzer for the specified language and stopwords. |
static StringMapper |
stringMapper()
Returns a new
StringMapper. |
static TextMapper |
textMapper()
Returns a new
TextMapper. |
String |
toString()
Returns the JSON
String representation of the specified object. |
static UUIDMapper |
uuidMapper()
Returns a new
UUIDMapper. |
static WildcardCondition |
wildcard(String field,
String value)
Returns a new
WildcardCondition for the specified field and value. |
public String toString()
String representation of the specified object.public String build()
Builder.Builder.public static Index index(String table, String column)
table - The table name.column - The indexed column name.public static Index index(String keyspace, String table, String column)
keyspace - The keyspace name.table - The table name.column - The indexed column name.public static BigDecimalMapper bigDecimalMapper()
BigDecimalMapper.BigDecimalMapper.public static BigIntegerMapper bigIntegerMapper()
BigIntegerMapper.BigIntegerMapper.public static BitemporalMapper bitemporalMapper(String vtFrom, String vtTo, String ttFrom, String ttTo)
BitemporalMapper.vtFrom - The column name containing the valid time start.vtTo - The column name containing the valid time stop.ttFrom - The column name containing the transaction time start.ttTo - The column name containing the transaction time stop.BitemporalMapper.public static BlobMapper blobMapper()
BlobMapper.BlobMapper.public static BooleanMapper booleanMapper()
BooleanMapper.BooleanMapper.public static DateMapper dateMapper()
DateMapper.DateMapper.public static DateRangeMapper dateRangeMapper(String from, String to)
DateRangeMapper.from - The column containing the start date.to - The column containing the end date.DateRangeMapper.public static DoubleMapper doubleMapper()
DoubleMapper.DoubleMapper.public static FloatMapper floatMapper()
FloatMapper.FloatMapper.public static GeoPointMapper geoPointMapper(String latitude, String longitude)
GeoPointMapper.latitude - The name of the column containing the latitude.longitude - The name of the column containing the longitude.GeoPointMapper.public static InetMapper inetMapper()
InetMapper.InetMapper.public static IntegerMapper integerMapper()
IntegerMapper.IntegerMapper.public static LongMapper longMapper()
LongMapper.LongMapper.public static StringMapper stringMapper()
StringMapper.StringMapper.public static TextMapper textMapper()
TextMapper.TextMapper.public static UUIDMapper uuidMapper()
UUIDMapper.UUIDMapper.public static ClasspathAnalyzer classpathAnalyzer(String className)
ClasspathAnalyzer.className - An Lucene's Analyzer full class name.ClasspathAnalyzer.public static SnowballAnalyzer snowballAnalyzer(String language)
SnowballAnalyzer for the specified language and stopwords.language - The language. The supported languages are English, French, Spanish, Portuguese, Italian,
Romanian, German, Dutch, Swedish, Norwegian, Danish, Russian, Finnish, Irish, Hungarian,
Turkish, Armenian, Basque and Catalan.SnowballAnalyzer.public static AllCondition all()
AllCondition for the specified field and value.AllCondition for the specified field and value.public static BitemporalCondition bitemporal(String field)
BitemporalCondition for the specified field.field - The name of the field to be sorted.BitemporalCondition for the specified field.public static BooleanCondition bool()
BooleanCondition.BooleanCondition.public static ContainsCondition contains(String field, Object... values)
ContainsCondition.field - The name of the field to be matched.values - The values of the field to be matched.ContainsCondition.public static FuzzyCondition fuzzy(String field, String value)
FuzzyCondition for the specified field and value.field - The name of the field to be matched.value - The value of the field to be matched.FuzzyCondition for the specified field and value.public static LuceneCondition lucene(String query)
LuceneCondition with the specified query.query - The Lucene syntax query.LuceneCondition with the specified query.public static MatchCondition match(String field, Object value)
MatchCondition for the specified field and value.field - The name of the field to be matched.value - The value of the field to be matched.MatchCondition for the specified field and value.public static NoneCondition none()
NoneCondition for the specified field and value.NoneCondition for the specified field and value.public static PhraseCondition phrase(String field, String value)
PhraseCondition for the specified field and values.field - The name of the field to be matched.value - The text to be matched.PhraseCondition for the specified field and values.public static PrefixCondition prefix(String field, String value)
PrefixCondition for the specified field and value.field - The name of the field to be matched.value - The value of the field to be matched.PrefixCondition for the specified field and value.public static RangeCondition range(String field)
RangeCondition for the specified field.field - The name of the field to be matched.RangeCondition for the specified field.public static RegexpCondition regexp(String field, String value)
RegexpCondition for the specified field and value.field - The name of the field to be matched.value - The value of the field to be matched.RegexpCondition for the specified field and value.public static WildcardCondition wildcard(String field, String value)
WildcardCondition for the specified field and value.field - The name of the field to be matched.value - The value of the field to be matched.WildcardCondition for the specified field and value.public static GeoBBoxCondition geoBBox(String field, double minLongitude, double maxLongitude, double minLatitude, double maxLatitude)
GeoBBoxCondition with the specified field name and bounding box coordinates.field - The name of the field to be matched.minLongitude - The minimum accepted longitude.maxLongitude - The maximum accepted longitude.minLatitude - The minimum accepted latitude.maxLatitude - The maximum accepted latitude.GeoBBoxCondition.public static GeoDistanceCondition geoDistance(String field, double longitude, double latitude, String maxDistance)
GeoDistanceCondition with the specified field reference point.field - The name of the field to be matched.longitude - The longitude of the reference point.latitude - The latitude of the reference point.maxDistance - The max allowed distance.GeoDistanceCondition.public static DateRangeCondition dateRange(String field)
DateRangeCondition with the specified field reference point.field - The name of the field to be matched.DateRangeCondition.public static SimpleSortField field(String field)
SimpleSortField for the specified field.field - The name of the field to be sorted.SimpleSortField for the specified field.public static GeoDistanceSortField geoDistanceSortField(String mapper, double longitude, double latitude)
GeoDistanceSortField for the specified field.mapper - The name of the field to be used for sort.longitude - The longitude in degrees of the point to min distance sort by.latitude - The latitude in degrees of the point to min distance sort by.GeoDistanceSortField for the specified field.Copyright © 2016. All rights reserved.