Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
info.archinnov.achilles.generated.dsl.EntityWithComplexIndices_SelectIndex Maven / Gradle / Ivy
package info.archinnov.achilles.generated.dsl;
import com.datastax.driver.core.TupleType;
import com.datastax.driver.core.querybuilder.MapEntryClause;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.querybuilder.Select;
import info.archinnov.achilles.generated.meta.entity.EntityWithComplexIndices_AchillesMeta;
import info.archinnov.achilles.internals.dsl.query.select.AbstractIndexSelectWhere;
import info.archinnov.achilles.internals.dsl.query.select.AbstractIndexSelectWhereTypeMap;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelect;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectColumns;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectColumnsTypeMap;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectFrom;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectFromTypeMap;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectWherePartition;
import info.archinnov.achilles.internals.dsl.query.select.AbstractSelectWherePartitionTypeMap;
import info.archinnov.achilles.internals.entities.EntityWithComplexIndices;
import info.archinnov.achilles.internals.metamodel.AbstractEntityProperty;
import info.archinnov.achilles.internals.metamodel.functions.FunctionCall;
import info.archinnov.achilles.internals.options.CassandraOptions;
import info.archinnov.achilles.internals.runtime.RuntimeEngine;
import info.archinnov.achilles.type.SchemaNameProvider;
import info.archinnov.achilles.validation.Validator;
import java.lang.Class;
import java.lang.Integer;
import java.lang.Long;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import org.apache.commons.lang3.ArrayUtils;
public final class EntityWithComplexIndices_SelectIndex extends AbstractSelect {
protected final EntityWithComplexIndices_AchillesMeta meta;
protected final Class entityClass = EntityWithComplexIndices.class;
public EntityWithComplexIndices_SelectIndex(RuntimeEngine rte, EntityWithComplexIndices_AchillesMeta meta) {
super(rte);
this.meta = meta;
}
/**
* Generate a SELECT ... id ... */
public final EntityWithComplexIndices_SelectIndex.Cols id() {
select.column("id");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... clust1 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust1() {
select.column("clust1");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... clust2 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust2() {
select.column("clust2");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... clust3 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust3() {
select.column("clust3");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... simpleindex ... */
public final EntityWithComplexIndices_SelectIndex.Cols simpleIndex() {
select.column("simpleindex");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... collectionindex ... */
public final EntityWithComplexIndices_SelectIndex.Cols collectionIndex() {
select.column("collectionindex");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... fullindexoncollection ... */
public final EntityWithComplexIndices_SelectIndex.Cols fullIndexOnCollection() {
select.column("fullindexoncollection");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... indexonmapkey ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapKey() {
select.column("indexonmapkey");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... indexonmapvalue ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapValue() {
select.column("indexonmapvalue");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Generate a SELECT ... indexonmapentry ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapEntry() {
select.column("indexonmapentry");
return new EntityWithComplexIndices_SelectIndex.Cols(select);
}
/**
* Use this method to call a system or user-defined function. All the system functions are accessible from the {@link info.archinnov.achilles.generated.function.SystemFunctions} class All the user-defined functions and aggregates are accessible from the {@link info.archinnov.achilles.generated.function.FunctionsRegistry} class System and user-defined functions accept only appropriate type. To pass in an entity field as function argument, use the generated manager.COLUMNS class which exposes all columns with their appropriate type Example:
* {@literal @}Table
* public class MyEntity {
*
* ...
*
* {@literal @}Column("value_column")
* private String value;
*
* {@literal @}Column("list_of_string")
* private List strings;
*
* ...
*
* }
*
* {@literal @}FunctionsRegistry
* public interface MyFunctions {
*
* String convertListToJson(List strings);
*
* }
*
*
* ...
*
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT cast(writetime(value_column) as text) AS writetimeOfValueAsString, ...
* .function(SystemFunctions.castAsText(SystemFunctions.writetime(manager.COLUMNS.VALUE)), "writetimeOfValueAsString")
* ...
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT convertlisttojson(list_of_string) AS strings_as_json, ...
* .function(FunctionsRegistry.convertListToJson(manager.COLUMNS.STRINGS), "strings_as_json")
* ...
*
*
*
* @param functionCall the function call object
* @param alias mandatory alias for this function call for easier retrieval from the ResultSet
* @return a built-in function call passed to the QueryBuilder object
*/
public final EntityWithComplexIndices_SelectIndex.ColsTM function(final FunctionCall functionCall, final String alias) {
functionCall.addToSelect(select, alias);
return new EntityWithComplexIndices_SelectIndex.ColsTM(select);
}
/**
* Generate ... * FROM ... */
public final EntityWithComplexIndices_SelectIndex.F allColumns_FromBaseTable() {
final Select.Where where = select.all().from(meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName()), meta.getTableOrViewName()).where();
return new EntityWithComplexIndices_SelectIndex.F(where, new CassandraOptions());
}
/**
* Generate ... * FROM ... using the given SchemaNameProvider */
public final EntityWithComplexIndices_SelectIndex.F allColumns_From(final SchemaNameProvider schemaNameProvider) {
final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
final Select.Where where = select.all().from(currentKeyspace, currentTable).where();
return new EntityWithComplexIndices_SelectIndex.F(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
}
public class Cols extends AbstractSelectColumns {
public Cols(Select.Selection selection) {
super(selection);
}
/**
* Generate a SELECT ... id ... */
public final EntityWithComplexIndices_SelectIndex.Cols id() {
selection.column("id");
return this;
}
/**
* Generate a SELECT ... clust1 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust1() {
selection.column("clust1");
return this;
}
/**
* Generate a SELECT ... clust2 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust2() {
selection.column("clust2");
return this;
}
/**
* Generate a SELECT ... clust3 ... */
public final EntityWithComplexIndices_SelectIndex.Cols clust3() {
selection.column("clust3");
return this;
}
/**
* Generate a SELECT ... simpleindex ... */
public final EntityWithComplexIndices_SelectIndex.Cols simpleIndex() {
selection.column("simpleindex");
return this;
}
/**
* Generate a SELECT ... collectionindex ... */
public final EntityWithComplexIndices_SelectIndex.Cols collectionIndex() {
selection.column("collectionindex");
return this;
}
/**
* Generate a SELECT ... fullindexoncollection ... */
public final EntityWithComplexIndices_SelectIndex.Cols fullIndexOnCollection() {
selection.column("fullindexoncollection");
return this;
}
/**
* Generate a SELECT ... indexonmapkey ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapKey() {
selection.column("indexonmapkey");
return this;
}
/**
* Generate a SELECT ... indexonmapvalue ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapValue() {
selection.column("indexonmapvalue");
return this;
}
/**
* Generate a SELECT ... indexonmapentry ... */
public final EntityWithComplexIndices_SelectIndex.Cols indexOnMapEntry() {
selection.column("indexonmapentry");
return this;
}
/**
* Use this method to call a system or user-defined function. All the system functions are accessible from the {@link info.archinnov.achilles.generated.function.SystemFunctions} class All the user-defined functions and aggregates are accessible from the {@link info.archinnov.achilles.generated.function.FunctionsRegistry} class System and user-defined functions accept only appropriate type. To pass in an entity field as function argument, use the generated manager.COLUMNS class which exposes all columns with their appropriate type Example:
* {@literal @}Table
* public class MyEntity {
*
* ...
*
* {@literal @}Column("value_column")
* private String value;
*
* {@literal @}Column("list_of_string")
* private List strings;
*
* ...
*
* }
*
* {@literal @}FunctionsRegistry
* public interface MyFunctions {
*
* String convertListToJson(List strings);
*
* }
*
*
* ...
*
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT cast(writetime(value_column) as text) AS writetimeOfValueAsString, ...
* .function(SystemFunctions.castAsText(SystemFunctions.writetime(manager.COLUMNS.VALUE)), "writetimeOfValueAsString")
* ...
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT convertlisttojson(list_of_string) AS strings_as_json, ...
* .function(FunctionsRegistry.convertListToJson(manager.COLUMNS.STRINGS), "strings_as_json")
* ...
*
*
*
* @param functionCall the function call object
* @param alias mandatory alias for this function call for easier retrieval from the ResultSet
* @return a built-in function call passed to the QueryBuilder object
*/
public final EntityWithComplexIndices_SelectIndex.ColsTM function(final FunctionCall functionCall, final String alias) {
functionCall.addToSelect(selection, alias);
return new EntityWithComplexIndices_SelectIndex.ColsTM(select);
}
/**
* Generate a ... FROM xxx ... */
public final EntityWithComplexIndices_SelectIndex.F fromBaseTable() {
final Select.Where where = selection.from(meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName()), meta.getTableOrViewName()).where();
return new EntityWithComplexIndices_SelectIndex.F(where, new CassandraOptions());
}
/**
* Generate a ... FROM xxx ... using the given SchemaNameProvider */
public final EntityWithComplexIndices_SelectIndex.F from(final SchemaNameProvider schemaNameProvider) {
final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
final Select.Where where = selection.from(currentKeyspace, currentTable).where();
return new EntityWithComplexIndices_SelectIndex.F(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
}
}
public class ColsTM extends AbstractSelectColumnsTypeMap {
public ColsTM(Select.Selection selection) {
super(selection);
}
/**
* Generate a SELECT ... id ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM id() {
selection.column("id");
return this;
}
/**
* Generate a SELECT ... clust1 ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM clust1() {
selection.column("clust1");
return this;
}
/**
* Generate a SELECT ... clust2 ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM clust2() {
selection.column("clust2");
return this;
}
/**
* Generate a SELECT ... clust3 ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM clust3() {
selection.column("clust3");
return this;
}
/**
* Generate a SELECT ... simpleindex ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM simpleIndex() {
selection.column("simpleindex");
return this;
}
/**
* Generate a SELECT ... collectionindex ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM collectionIndex() {
selection.column("collectionindex");
return this;
}
/**
* Generate a SELECT ... fullindexoncollection ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM fullIndexOnCollection() {
selection.column("fullindexoncollection");
return this;
}
/**
* Generate a SELECT ... indexonmapkey ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM indexOnMapKey() {
selection.column("indexonmapkey");
return this;
}
/**
* Generate a SELECT ... indexonmapvalue ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM indexOnMapValue() {
selection.column("indexonmapvalue");
return this;
}
/**
* Generate a SELECT ... indexonmapentry ... */
public final EntityWithComplexIndices_SelectIndex.ColsTM indexOnMapEntry() {
selection.column("indexonmapentry");
return this;
}
/**
* Use this method to call a system or user-defined function. All the system functions are accessible from the {@link info.archinnov.achilles.generated.function.SystemFunctions} class All the user-defined functions and aggregates are accessible from the {@link info.archinnov.achilles.generated.function.FunctionsRegistry} class System and user-defined functions accept only appropriate type. To pass in an entity field as function argument, use the generated manager.COLUMNS class which exposes all columns with their appropriate type Example:
* {@literal @}Table
* public class MyEntity {
*
* ...
*
* {@literal @}Column("value_column")
* private String value;
*
* {@literal @}Column("list_of_string")
* private List strings;
*
* ...
*
* }
*
* {@literal @}FunctionsRegistry
* public interface MyFunctions {
*
* String convertListToJson(List strings);
*
* }
*
*
* ...
*
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT cast(writetime(value_column) as text) AS writetimeOfValueAsString, ...
* .function(SystemFunctions.castAsText(SystemFunctions.writetime(manager.COLUMNS.VALUE)), "writetimeOfValueAsString")
* ...
*
* manager
* .dsl()
* .select()
* // This call will generate SELECT convertlisttojson(list_of_string) AS strings_as_json, ...
* .function(FunctionsRegistry.convertListToJson(manager.COLUMNS.STRINGS), "strings_as_json")
* ...
*
*
*
* @param functionCall the function call object
* @param alias mandatory alias for this function call for easier retrieval from the ResultSet
* @return a built-in function call passed to the QueryBuilder object
*/
public final EntityWithComplexIndices_SelectIndex.ColsTM function(final FunctionCall functionCall, final String alias) {
functionCall.addToSelect(selection, alias);
return this;
}
/**
* Generate a ... FROM xxx ... */
public final EntityWithComplexIndices_SelectIndex.F_TM fromBaseTable() {
final Select.Where where = selection.from(meta.getKeyspace().orElse("unknown_keyspace_for_" + meta.entityClass.getCanonicalName()), meta.getTableOrViewName()).where();
return new EntityWithComplexIndices_SelectIndex.F_TM(where, new CassandraOptions());
}
/**
* Generate a ... FROM xxx ... using the given SchemaNameProvider */
public final EntityWithComplexIndices_SelectIndex.F_TM from(final SchemaNameProvider schemaNameProvider) {
final String currentKeyspace = lookupKeyspace(schemaNameProvider, meta.entityClass);
final String currentTable = lookupTable(schemaNameProvider, meta.entityClass);
final Select.Where where = selection.from(currentKeyspace, currentTable).where();
return new EntityWithComplexIndices_SelectIndex.F_TM(where, CassandraOptions.withSchemaNameProvider(schemaNameProvider));
}
}
public class F extends AbstractSelectFrom {
F(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
/**
* Generate a SELECT ... FROM ... WHERE ... */
public final EntityWithComplexIndices_SelectIndex.W where() {
return new EntityWithComplexIndices_SelectIndex.W(where, cassandraOptions);
}
/**
* Generate a SELECT statement without the WHERE clause */
public final EntityWithComplexIndices_SelectIndex.E without_WHERE_Clause() {
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public class F_TM extends AbstractSelectFromTypeMap {
F_TM(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
/**
* Generate a SELECT ... FROM ... WHERE ... */
public final EntityWithComplexIndices_SelectIndex.W_TM where() {
return new EntityWithComplexIndices_SelectIndex.W_TM(where, cassandraOptions);
}
/**
* Generate a SELECT statement without the WHERE clause */
public final EntityWithComplexIndices_SelectIndex.E_TM without_WHERE_Clause() {
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class W extends AbstractSelectWherePartition {
public W(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_CollectionIndex indexed_collectionIndex() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_CollectionIndex();
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_FullIndexOnCollection indexed_fullIndexOnCollection() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_FullIndexOnCollection();
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapEntry indexed_indexOnMapEntry() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapEntry();
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapKey indexed_indexOnMapKey() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapKey();
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapValue indexed_indexOnMapValue() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_IndexOnMapValue();
}
public final EntityWithComplexIndices_SelectIndex.W.Indexed_SimpleIndex indexed_simpleIndex() {
return new EntityWithComplexIndices_SelectIndex.W.Indexed_SimpleIndex();
}
public final class Indexed_CollectionIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... collectionindex CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Contains(String collectionIndex_element) {
where.and(QueryBuilder.contains("collectionindex", QueryBuilder.bindMarker("collectionindex")));
boundValues.add(collectionIndex_element);
encodedValues.add(meta.collectionIndex.encodeSingleElement(collectionIndex_element, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public final class Indexed_FullIndexOnCollection {
/**
* Generate a SELECT ... FROM ... WHERE ... fullindexoncollection = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(Set fullIndexOnCollection) {
where.and(QueryBuilder.eq("fullindexoncollection", QueryBuilder.bindMarker("fullindexoncollection")));
boundValues.add(fullIndexOnCollection);
encodedValues.add(meta.fullIndexOnCollection.encodeFromJava(fullIndexOnCollection, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapEntry {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapentry[?] = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsEntry(Integer indexOnMapEntry_key, String indexOnMapEntry_value) {
where.and(MapEntryClause.of("indexonmapentry", QueryBuilder.bindMarker("indexOnMapEntry_key"), QueryBuilder.bindMarker("indexOnMapEntry_value")));
boundValues.add(indexOnMapEntry_key);
boundValues.add(indexOnMapEntry_value);
encodedValues.add(meta.indexOnMapEntry.encodeSingleKeyElement(indexOnMapEntry_key, Optional.of(cassandraOptions)));
encodedValues.add(meta.indexOnMapEntry.encodeSingleValueElement(indexOnMapEntry_value, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapKey {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapkey CONTAINS KEY ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsKey(String indexOnMapKey_key) {
where.and(QueryBuilder.containsKey("indexonmapkey", QueryBuilder.bindMarker("indexonmapkey")));
boundValues.add(indexOnMapKey_key);
encodedValues.add(meta.indexOnMapKey.encodeSingleKeyElement(indexOnMapKey_key, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapValue {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapvalue CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsValue(String indexOnMapValue_value) {
where.and(QueryBuilder.contains("indexonmapvalue", QueryBuilder.bindMarker("indexonmapvalue")));
boundValues.add(indexOnMapValue_value);
encodedValues.add(meta.indexOnMapValue.encodeSingleValueElement(indexOnMapValue_value, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
public final class Indexed_SimpleIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... simpleindex = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(String simpleIndex) {
where.and(QueryBuilder.eq("simpleindex", QueryBuilder.bindMarker("simpleindex")));
boundValues.add(simpleIndex);
encodedValues.add(meta.simpleIndex.encodeFromJava(simpleIndex, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E(where, cassandraOptions);
}
}
}
public final class E extends AbstractIndexSelectWhere {
public E(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
@Override
protected final Class getEntityClass() {
return entityClass;
}
@Override
protected final AbstractEntityProperty getMetaInternal() {
return meta;
}
@Override
protected final RuntimeEngine getRte() {
return rte;
}
@Override
protected final CassandraOptions getOptions() {
return cassandraOptions;
}
@Override
protected final List getBoundValuesInternal() {
return boundValues;
}
@Override
protected final List getEncodedValuesInternal() {
return encodedValues;
}
/**
* Generate a SELECT ... FROM ... WHERE ... LIMIT :limit */
public final EntityWithComplexIndices_SelectIndex.E limit(final Integer limit) {
where.limit(QueryBuilder.bindMarker("lim"));
boundValues.add(limit);
encodedValues.add(limit);
return this;
}
@Override
protected final EntityWithComplexIndices_SelectIndex.E getThis() {
return this;
}
public final EntityWithComplexIndices_SelectIndex.E.Id id() {
return new EntityWithComplexIndices_SelectIndex.E.Id();
}
public final EntityWithComplexIndices_SelectIndex.E.Clust1 clust1() {
return new EntityWithComplexIndices_SelectIndex.E.Clust1();
}
public final EntityWithComplexIndices_SelectIndex.E.Clust2 clust2() {
return new EntityWithComplexIndices_SelectIndex.E.Clust2();
}
public final EntityWithComplexIndices_SelectIndex.E.Clust3 clust3() {
return new EntityWithComplexIndices_SelectIndex.E.Clust3();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_CollectionIndex indexed_collectionIndex() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_CollectionIndex();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_FullIndexOnCollection indexed_fullIndexOnCollection() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_FullIndexOnCollection();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapEntry indexed_indexOnMapEntry() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapEntry();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapKey indexed_indexOnMapKey() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapKey();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapValue indexed_indexOnMapValue() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_IndexOnMapValue();
}
public final EntityWithComplexIndices_SelectIndex.E.Indexed_SimpleIndex indexed_simpleIndex() {
return new EntityWithComplexIndices_SelectIndex.E.Indexed_SimpleIndex();
}
public final EntityWithComplexIndices_SelectIndex.E.clust1_clust2 clust1_clust2() {
return new EntityWithComplexIndices_SelectIndex.E.clust1_clust2();
}
public final EntityWithComplexIndices_SelectIndex.E.clust1_clust2_clust3 clust1_clust2_clust3() {
return new EntityWithComplexIndices_SelectIndex.E.clust1_clust2_clust3();
}
/**
* Generate a SELECT ... FROM ... WHERE ... ORDER BY clust1 ASC */
public final EntityWithComplexIndices_SelectIndex.E orderByClust1Ascending() {
where.orderBy(QueryBuilder.asc("clust1"));
return this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... ORDER BY clust1 DESC */
public final EntityWithComplexIndices_SelectIndex.E orderByClust1Descending() {
where.orderBy(QueryBuilder.desc("clust1"));
return this;
}
public final class Id {
/**
* Generate a SELECT ... FROM ... WHERE ... id = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(Long id) {
where.and(QueryBuilder.eq("id", QueryBuilder.bindMarker("id")));
boundValues.add(id);
encodedValues.add(meta.id.encodeFromJava(id, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... id IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E IN(Long... id) {
Validator.validateTrue(ArrayUtils.isNotEmpty(id), "Varargs for field '%s' should not be null/empty", "id");
where.and(QueryBuilder.in("id",QueryBuilder.bindMarker("id")));
final List varargs = Arrays.asList((Object[])id);
final List encodedVarargs = Arrays.stream((Long[])id).map(x -> meta.id.encodeFromJava(x, Optional.of(cassandraOptions))).collect(Collectors.toList());
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Clust1 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(int clust1) {
where.and(QueryBuilder.eq("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E IN(int... clust1) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust1), "Varargs for field '%s' should not be null/empty", "clust1");
where.and(QueryBuilder.in("clust1",QueryBuilder.bindMarker("clust1")));
final List varargs = Arrays.asList((int[])clust1);
final List encodedVarargs = new ArrayList<>(clust1.length);;
for(int clust1_element : clust1) {
encodedVarargs.add(meta.clust1.encodeFromJava(clust1_element, Optional.of(cassandraOptions)));
}
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt(int clust1) {
where.and(QueryBuilder.gt("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte(int clust1) {
where.and(QueryBuilder.gte("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lt(int clust1) {
where.and(QueryBuilder.lt("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lte(int clust1) {
where.and(QueryBuilder.lte("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? AND clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lt(int clust1_Gt, int clust1_Lt) {
where.and(QueryBuilder.gt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
where.and(QueryBuilder.lt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? AND clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lte(int clust1_Gt, int clust1_Lte) {
where.and(QueryBuilder.gt("clust1",QueryBuilder.bindMarker("clust1_Lte")));
where.and(QueryBuilder.lte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? AND clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lt(int clust1_Gte, int clust1_Lt) {
where.and(QueryBuilder.gte("clust1",QueryBuilder.bindMarker("clust1_Lt")));
where.and(QueryBuilder.lt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? AND clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lte(int clust1_Gte, int clust1_Lte) {
where.and(QueryBuilder.gte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
where.and(QueryBuilder.lte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Clust2 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(int clust2) {
where.and(QueryBuilder.eq("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E IN(int... clust2) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust2), "Varargs for field '%s' should not be null/empty", "clust2");
where.and(QueryBuilder.in("clust2",QueryBuilder.bindMarker("clust2")));
final List varargs = Arrays.asList((int[])clust2);
final List encodedVarargs = new ArrayList<>(clust2.length);;
for(int clust2_element : clust2) {
encodedVarargs.add(meta.clust2.encodeFromJava(clust2_element, Optional.of(cassandraOptions)));
}
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt(int clust2) {
where.and(QueryBuilder.gt("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte(int clust2) {
where.and(QueryBuilder.gte("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lt(int clust2) {
where.and(QueryBuilder.lt("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lte(int clust2) {
where.and(QueryBuilder.lte("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? AND clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lt(int clust2_Gt, int clust2_Lt) {
where.and(QueryBuilder.gt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
where.and(QueryBuilder.lt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? AND clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lte(int clust2_Gt, int clust2_Lte) {
where.and(QueryBuilder.gt("clust2",QueryBuilder.bindMarker("clust2_Lte")));
where.and(QueryBuilder.lte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? AND clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lt(int clust2_Gte, int clust2_Lt) {
where.and(QueryBuilder.gte("clust2",QueryBuilder.bindMarker("clust2_Lt")));
where.and(QueryBuilder.lt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? AND clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lte(int clust2_Gte, int clust2_Lte) {
where.and(QueryBuilder.gte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
where.and(QueryBuilder.lte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Clust3 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(String clust3) {
where.and(QueryBuilder.eq("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E IN(String... clust3) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust3), "Varargs for field '%s' should not be null/empty", "clust3");
where.and(QueryBuilder.in("clust3",QueryBuilder.bindMarker("clust3")));
final List varargs = Arrays.asList((Object[])clust3);
final List encodedVarargs = Arrays.stream((String[])clust3).map(x -> meta.clust3.encodeFromJava(x, Optional.of(cassandraOptions))).collect(Collectors.toList());
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt(String clust3) {
where.and(QueryBuilder.gt("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte(String clust3) {
where.and(QueryBuilder.gte("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lt(String clust3) {
where.and(QueryBuilder.lt("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lte(String clust3) {
where.and(QueryBuilder.lte("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? AND clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lt(String clust3_Gt, String clust3_Lt) {
where.and(QueryBuilder.gt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
where.and(QueryBuilder.lt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? AND clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lte(String clust3_Gt, String clust3_Lte) {
where.and(QueryBuilder.gt("clust3",QueryBuilder.bindMarker("clust3_Lte")));
where.and(QueryBuilder.lte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? AND clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lt(String clust3_Gte, String clust3_Lt) {
where.and(QueryBuilder.gte("clust3",QueryBuilder.bindMarker("clust3_Lt")));
where.and(QueryBuilder.lt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? AND clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lte(String clust3_Gte, String clust3_Lte) {
where.and(QueryBuilder.gte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
where.and(QueryBuilder.lte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_CollectionIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... collectionindex CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Contains(String collectionIndex_element) {
where.and(QueryBuilder.contains("collectionindex", QueryBuilder.bindMarker("collectionindex")));
boundValues.add(collectionIndex_element);
encodedValues.add(meta.collectionIndex.encodeSingleElement(collectionIndex_element, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_FullIndexOnCollection {
/**
* Generate a SELECT ... FROM ... WHERE ... fullindexoncollection = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(Set fullIndexOnCollection) {
where.and(QueryBuilder.eq("fullindexoncollection", QueryBuilder.bindMarker("fullindexoncollection")));
boundValues.add(fullIndexOnCollection);
encodedValues.add(meta.fullIndexOnCollection.encodeFromJava(fullIndexOnCollection, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_IndexOnMapEntry {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapentry[?] = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsEntry(Integer indexOnMapEntry_key, String indexOnMapEntry_value) {
where.and(MapEntryClause.of("indexonmapentry", QueryBuilder.bindMarker("indexOnMapEntry_key"), QueryBuilder.bindMarker("indexOnMapEntry_value")));
boundValues.add(indexOnMapEntry_key);
boundValues.add(indexOnMapEntry_value);
encodedValues.add(meta.indexOnMapEntry.encodeSingleKeyElement(indexOnMapEntry_key, Optional.of(cassandraOptions)));
encodedValues.add(meta.indexOnMapEntry.encodeSingleValueElement(indexOnMapEntry_value, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_IndexOnMapKey {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapkey CONTAINS KEY ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsKey(String indexOnMapKey_key) {
where.and(QueryBuilder.containsKey("indexonmapkey", QueryBuilder.bindMarker("indexonmapkey")));
boundValues.add(indexOnMapKey_key);
encodedValues.add(meta.indexOnMapKey.encodeSingleKeyElement(indexOnMapKey_key, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_IndexOnMapValue {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapvalue CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E ContainsValue(String indexOnMapValue_value) {
where.and(QueryBuilder.contains("indexonmapvalue", QueryBuilder.bindMarker("indexonmapvalue")));
boundValues.add(indexOnMapValue_value);
encodedValues.add(meta.indexOnMapValue.encodeSingleValueElement(indexOnMapValue_value, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class Indexed_SimpleIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... simpleindex = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Eq(String simpleIndex) {
where.and(QueryBuilder.eq("simpleindex", QueryBuilder.bindMarker("simpleindex")));
boundValues.add(simpleIndex);
encodedValues.add(meta.simpleIndex.encodeFromJava(simpleIndex, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class clust1_clust2 {
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt(final int clust1, final int clust2) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte(final int clust1, final int clust2) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lt(final int clust1, final int clust2) {
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lte(final int clust1, final int clust2) {
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gt_And_clust1_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gt_And_clust1_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gte_And_clust1_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gte_And_clust1_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_Gt_And_clust1_And_clust2_Lt(final int clust1_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_Gt_And_clust1_And_clust2_Lte(final int clust1_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_Gte_And_clust1_And_clust2_Lt(final int clust1_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_Gte_And_clust1_And_clust2_Lte(final int clust1_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
public final class clust1_clust2_clust3 {
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lt(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Lte(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lt(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gt_And_Lte(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lt(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E Gte_And_Lte(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_And_clust3_Gt_And_clust1_And_clust2_Lt(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_And_clust3_Gt_And_clust1_And_clust2_Lte(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_And_clust3_Gte_And_clust1_And_clust2_Lt(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_And_clust3_Gte_And_clust1_And_clust2_Lte(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gt_And_clust1_And_clust2_And_clust3_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gt_And_clust1_And_clust2_And_clust3_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gte_And_clust1_And_clust2_And_clust3_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E clust1_And_clust2_Gte_And_clust1_And_clust2_And_clust3_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E.this;
}
}
}
public final class W_TM extends AbstractSelectWherePartitionTypeMap {
public W_TM(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_CollectionIndex indexed_collectionIndex() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_CollectionIndex();
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_FullIndexOnCollection indexed_fullIndexOnCollection() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_FullIndexOnCollection();
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapEntry indexed_indexOnMapEntry() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapEntry();
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapKey indexed_indexOnMapKey() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapKey();
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapValue indexed_indexOnMapValue() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_IndexOnMapValue();
}
public final EntityWithComplexIndices_SelectIndex.W_TM.Indexed_SimpleIndex indexed_simpleIndex() {
return new EntityWithComplexIndices_SelectIndex.W_TM.Indexed_SimpleIndex();
}
public final class Indexed_CollectionIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... collectionindex CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Contains(String collectionIndex_element) {
where.and(QueryBuilder.contains("collectionindex", QueryBuilder.bindMarker("collectionindex")));
boundValues.add(collectionIndex_element);
encodedValues.add(meta.collectionIndex.encodeSingleElement(collectionIndex_element, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class Indexed_FullIndexOnCollection {
/**
* Generate a SELECT ... FROM ... WHERE ... fullindexoncollection = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(Set fullIndexOnCollection) {
where.and(QueryBuilder.eq("fullindexoncollection", QueryBuilder.bindMarker("fullindexoncollection")));
boundValues.add(fullIndexOnCollection);
encodedValues.add(meta.fullIndexOnCollection.encodeFromJava(fullIndexOnCollection, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapEntry {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapentry[?] = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsEntry(Integer indexOnMapEntry_key, String indexOnMapEntry_value) {
where.and(MapEntryClause.of("indexonmapentry", QueryBuilder.bindMarker("indexOnMapEntry_key"), QueryBuilder.bindMarker("indexOnMapEntry_value")));
boundValues.add(indexOnMapEntry_key);
boundValues.add(indexOnMapEntry_value);
encodedValues.add(meta.indexOnMapEntry.encodeSingleKeyElement(indexOnMapEntry_key, Optional.of(cassandraOptions)));
encodedValues.add(meta.indexOnMapEntry.encodeSingleValueElement(indexOnMapEntry_value, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapKey {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapkey CONTAINS KEY ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsKey(String indexOnMapKey_key) {
where.and(QueryBuilder.containsKey("indexonmapkey", QueryBuilder.bindMarker("indexonmapkey")));
boundValues.add(indexOnMapKey_key);
encodedValues.add(meta.indexOnMapKey.encodeSingleKeyElement(indexOnMapKey_key, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class Indexed_IndexOnMapValue {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapvalue CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsValue(String indexOnMapValue_value) {
where.and(QueryBuilder.contains("indexonmapvalue", QueryBuilder.bindMarker("indexonmapvalue")));
boundValues.add(indexOnMapValue_value);
encodedValues.add(meta.indexOnMapValue.encodeSingleValueElement(indexOnMapValue_value, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
public final class Indexed_SimpleIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... simpleindex = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(String simpleIndex) {
where.and(QueryBuilder.eq("simpleindex", QueryBuilder.bindMarker("simpleindex")));
boundValues.add(simpleIndex);
encodedValues.add(meta.simpleIndex.encodeFromJava(simpleIndex, Optional.of(cassandraOptions)));
return new EntityWithComplexIndices_SelectIndex.E_TM(where, cassandraOptions);
}
}
}
public final class E_TM extends AbstractIndexSelectWhereTypeMap {
public E_TM(Select.Where where, CassandraOptions cassandraOptions) {
super(where, cassandraOptions);
}
@Override
protected final Class getEntityClass() {
return entityClass;
}
@Override
protected final AbstractEntityProperty getMetaInternal() {
return meta;
}
@Override
protected final RuntimeEngine getRte() {
return rte;
}
@Override
protected final CassandraOptions getOptions() {
return cassandraOptions;
}
@Override
protected final List getBoundValuesInternal() {
return boundValues;
}
@Override
protected final List getEncodedValuesInternal() {
return encodedValues;
}
/**
* Generate a SELECT ... FROM ... WHERE ... LIMIT :limit */
public final EntityWithComplexIndices_SelectIndex.E_TM limit(final Integer limit) {
where.limit(QueryBuilder.bindMarker("lim"));
boundValues.add(limit);
encodedValues.add(limit);
return this;
}
@Override
protected final EntityWithComplexIndices_SelectIndex.E_TM getThis() {
return this;
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Id id() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Id();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Clust1 clust1() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Clust1();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Clust2 clust2() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Clust2();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Clust3 clust3() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Clust3();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_CollectionIndex indexed_collectionIndex() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_CollectionIndex();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_FullIndexOnCollection indexed_fullIndexOnCollection() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_FullIndexOnCollection();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapEntry indexed_indexOnMapEntry() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapEntry();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapKey indexed_indexOnMapKey() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapKey();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapValue indexed_indexOnMapValue() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_IndexOnMapValue();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.Indexed_SimpleIndex indexed_simpleIndex() {
return new EntityWithComplexIndices_SelectIndex.E_TM.Indexed_SimpleIndex();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.clust1_clust2 clust1_clust2() {
return new EntityWithComplexIndices_SelectIndex.E_TM.clust1_clust2();
}
public final EntityWithComplexIndices_SelectIndex.E_TM.clust1_clust2_clust3 clust1_clust2_clust3() {
return new EntityWithComplexIndices_SelectIndex.E_TM.clust1_clust2_clust3();
}
/**
* Generate a SELECT ... FROM ... WHERE ... ORDER BY clust1 ASC */
public final EntityWithComplexIndices_SelectIndex.E_TM orderByClust1Ascending() {
where.orderBy(QueryBuilder.asc("clust1"));
return this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... ORDER BY clust1 DESC */
public final EntityWithComplexIndices_SelectIndex.E_TM orderByClust1Descending() {
where.orderBy(QueryBuilder.desc("clust1"));
return this;
}
public final class Id {
/**
* Generate a SELECT ... FROM ... WHERE ... id = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(Long id) {
where.and(QueryBuilder.eq("id", QueryBuilder.bindMarker("id")));
boundValues.add(id);
encodedValues.add(meta.id.encodeFromJava(id, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... id IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM IN(Long... id) {
Validator.validateTrue(ArrayUtils.isNotEmpty(id), "Varargs for field '%s' should not be null/empty", "id");
where.and(QueryBuilder.in("id",QueryBuilder.bindMarker("id")));
final List varargs = Arrays.asList((Object[])id);
final List encodedVarargs = Arrays.stream((Long[])id).map(x -> meta.id.encodeFromJava(x, Optional.of(cassandraOptions))).collect(Collectors.toList());
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Clust1 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(int clust1) {
where.and(QueryBuilder.eq("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM IN(int... clust1) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust1), "Varargs for field '%s' should not be null/empty", "clust1");
where.and(QueryBuilder.in("clust1",QueryBuilder.bindMarker("clust1")));
final List varargs = Arrays.asList((int[])clust1);
final List encodedVarargs = new ArrayList<>(clust1.length);;
for(int clust1_element : clust1) {
encodedVarargs.add(meta.clust1.encodeFromJava(clust1_element, Optional.of(cassandraOptions)));
}
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt(int clust1) {
where.and(QueryBuilder.gt("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte(int clust1) {
where.and(QueryBuilder.gte("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lt(int clust1) {
where.and(QueryBuilder.lt("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lte(int clust1) {
where.and(QueryBuilder.lte("clust1", QueryBuilder.bindMarker("clust1")));
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? AND clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lt(int clust1_Gt, int clust1_Lt) {
where.and(QueryBuilder.gt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
where.and(QueryBuilder.lt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 > ? AND clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lte(int clust1_Gt, int clust1_Lte) {
where.and(QueryBuilder.gt("clust1",QueryBuilder.bindMarker("clust1_Lte")));
where.and(QueryBuilder.lte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? AND clust1 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lt(int clust1_Gte, int clust1_Lt) {
where.and(QueryBuilder.gte("clust1",QueryBuilder.bindMarker("clust1_Lt")));
where.and(QueryBuilder.lt("clust1",QueryBuilder.bindMarker("clust1_Lt")));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust1 >= ? AND clust1 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lte(int clust1_Gte, int clust1_Lte) {
where.and(QueryBuilder.gte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
where.and(QueryBuilder.lte("clust1",QueryBuilder.bindMarker("clust1_Lte")));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Clust2 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(int clust2) {
where.and(QueryBuilder.eq("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM IN(int... clust2) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust2), "Varargs for field '%s' should not be null/empty", "clust2");
where.and(QueryBuilder.in("clust2",QueryBuilder.bindMarker("clust2")));
final List varargs = Arrays.asList((int[])clust2);
final List encodedVarargs = new ArrayList<>(clust2.length);;
for(int clust2_element : clust2) {
encodedVarargs.add(meta.clust2.encodeFromJava(clust2_element, Optional.of(cassandraOptions)));
}
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt(int clust2) {
where.and(QueryBuilder.gt("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte(int clust2) {
where.and(QueryBuilder.gte("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lt(int clust2) {
where.and(QueryBuilder.lt("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lte(int clust2) {
where.and(QueryBuilder.lte("clust2", QueryBuilder.bindMarker("clust2")));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? AND clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lt(int clust2_Gt, int clust2_Lt) {
where.and(QueryBuilder.gt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
where.and(QueryBuilder.lt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 > ? AND clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lte(int clust2_Gt, int clust2_Lte) {
where.and(QueryBuilder.gt("clust2",QueryBuilder.bindMarker("clust2_Lte")));
where.and(QueryBuilder.lte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? AND clust2 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lt(int clust2_Gte, int clust2_Lt) {
where.and(QueryBuilder.gte("clust2",QueryBuilder.bindMarker("clust2_Lt")));
where.and(QueryBuilder.lt("clust2",QueryBuilder.bindMarker("clust2_Lt")));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust2 >= ? AND clust2 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lte(int clust2_Gte, int clust2_Lte) {
where.and(QueryBuilder.gte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
where.and(QueryBuilder.lte("clust2",QueryBuilder.bindMarker("clust2_Lte")));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Clust3 {
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(String clust3) {
where.and(QueryBuilder.eq("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 IN ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM IN(String... clust3) {
Validator.validateTrue(ArrayUtils.isNotEmpty(clust3), "Varargs for field '%s' should not be null/empty", "clust3");
where.and(QueryBuilder.in("clust3",QueryBuilder.bindMarker("clust3")));
final List varargs = Arrays.asList((Object[])clust3);
final List encodedVarargs = Arrays.stream((String[])clust3).map(x -> meta.clust3.encodeFromJava(x, Optional.of(cassandraOptions))).collect(Collectors.toList());
boundValues.add(varargs);
encodedValues.add(encodedVarargs);
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt(String clust3) {
where.and(QueryBuilder.gt("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte(String clust3) {
where.and(QueryBuilder.gte("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lt(String clust3) {
where.and(QueryBuilder.lt("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lte(String clust3) {
where.and(QueryBuilder.lte("clust3", QueryBuilder.bindMarker("clust3")));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? AND clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lt(String clust3_Gt, String clust3_Lt) {
where.and(QueryBuilder.gt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
where.and(QueryBuilder.lt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 > ? AND clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lte(String clust3_Gt, String clust3_Lte) {
where.and(QueryBuilder.gt("clust3",QueryBuilder.bindMarker("clust3_Lte")));
where.and(QueryBuilder.lte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? AND clust3 < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lt(String clust3_Gte, String clust3_Lt) {
where.and(QueryBuilder.gte("clust3",QueryBuilder.bindMarker("clust3_Lt")));
where.and(QueryBuilder.lt("clust3",QueryBuilder.bindMarker("clust3_Lt")));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... clust3 >= ? AND clust3 <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lte(String clust3_Gte, String clust3_Lte) {
where.and(QueryBuilder.gte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
where.and(QueryBuilder.lte("clust3",QueryBuilder.bindMarker("clust3_Lte")));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_CollectionIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... collectionindex CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Contains(String collectionIndex_element) {
where.and(QueryBuilder.contains("collectionindex", QueryBuilder.bindMarker("collectionindex")));
boundValues.add(collectionIndex_element);
encodedValues.add(meta.collectionIndex.encodeSingleElement(collectionIndex_element, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_FullIndexOnCollection {
/**
* Generate a SELECT ... FROM ... WHERE ... fullindexoncollection = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(Set fullIndexOnCollection) {
where.and(QueryBuilder.eq("fullindexoncollection", QueryBuilder.bindMarker("fullindexoncollection")));
boundValues.add(fullIndexOnCollection);
encodedValues.add(meta.fullIndexOnCollection.encodeFromJava(fullIndexOnCollection, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_IndexOnMapEntry {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapentry[?] = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsEntry(Integer indexOnMapEntry_key, String indexOnMapEntry_value) {
where.and(MapEntryClause.of("indexonmapentry", QueryBuilder.bindMarker("indexOnMapEntry_key"), QueryBuilder.bindMarker("indexOnMapEntry_value")));
boundValues.add(indexOnMapEntry_key);
boundValues.add(indexOnMapEntry_value);
encodedValues.add(meta.indexOnMapEntry.encodeSingleKeyElement(indexOnMapEntry_key, Optional.of(cassandraOptions)));
encodedValues.add(meta.indexOnMapEntry.encodeSingleValueElement(indexOnMapEntry_value, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_IndexOnMapKey {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapkey CONTAINS KEY ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsKey(String indexOnMapKey_key) {
where.and(QueryBuilder.containsKey("indexonmapkey", QueryBuilder.bindMarker("indexonmapkey")));
boundValues.add(indexOnMapKey_key);
encodedValues.add(meta.indexOnMapKey.encodeSingleKeyElement(indexOnMapKey_key, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_IndexOnMapValue {
/**
* Generate a SELECT ... FROM ... WHERE ... indexonmapvalue CONTAINS ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM ContainsValue(String indexOnMapValue_value) {
where.and(QueryBuilder.contains("indexonmapvalue", QueryBuilder.bindMarker("indexonmapvalue")));
boundValues.add(indexOnMapValue_value);
encodedValues.add(meta.indexOnMapValue.encodeSingleValueElement(indexOnMapValue_value, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class Indexed_SimpleIndex {
/**
* Generate a SELECT ... FROM ... WHERE ... simpleindex = ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Eq(String simpleIndex) {
where.and(QueryBuilder.eq("simpleindex", QueryBuilder.bindMarker("simpleindex")));
boundValues.add(simpleIndex);
encodedValues.add(meta.simpleIndex.encodeFromJava(simpleIndex, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class clust1_clust2 {
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt(final int clust1, final int clust2) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte(final int clust1, final int clust2) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lt(final int clust1, final int clust2) {
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lte(final int clust1, final int clust2) {
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gt_And_clust1_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gt_And_clust1_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gte_And_clust1_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gte_And_clust1_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_Gt_And_clust1_And_clust2_Lt(final int clust1_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_Gt_And_clust1_And_clust2_Lte(final int clust1_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_Gte_And_clust1_And_clust2_Lt(final int clust1_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_Gte_And_clust1_And_clust2_Lte(final int clust1_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1"), Arrays.asList("clust1").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
public final class clust1_clust2_clust3 {
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lt(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Lte(final int clust1, final int clust2, final String clust3) {
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
final TupleType tupleType = rte.tupleTypeFactory.typeFor();
boundValues.add(clust1);
encodedValues.add(meta.clust1.encodeFromJava(clust1, Optional.of(cassandraOptions)));
boundValues.add(clust2);
encodedValues.add(meta.clust2.encodeFromJava(clust2, Optional.of(cassandraOptions)));
boundValues.add(clust3);
encodedValues.add(meta.clust3.encodeFromJava(clust3, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lt(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gt_And_Lte(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lt(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM Gte_And_Lte(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_And_clust3_Gt_And_clust1_And_clust2_Lt(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) > ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_And_clust3_Gt_And_clust1_And_clust2_Lte(final int clust1_Gt, final int clust2_Gt, final String clust3_Gt, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_And_clust3_Gte_And_clust1_And_clust2_Lt(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lt, final int clust2_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2,clust3) >= ? AND (clust1,clust2) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_And_clust3_Gte_And_clust1_And_clust2_Lte(final int clust1_Gte, final int clust2_Gte, final String clust3_Gte, final int clust1_Lte, final int clust2_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Gte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gt_And_clust1_And_clust2_And_clust3_Lt(final int clust1_Gt, final int clust2_Gt, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) > ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gt_And_clust1_And_clust2_And_clust3_Lte(final int clust1_Gt, final int clust2_Gt, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gt(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gt, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2,clust3) < ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gte_And_clust1_And_clust2_And_clust3_Lt(final int clust1_Gte, final int clust2_Gte, final int clust1_Lt, final int clust2_Lt, final String clust3_Lt) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lt(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lt);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lt);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lt, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lt);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lt, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
/**
* Generate a SELECT ... FROM ... WHERE ... (clust1,clust2) >= ? AND (clust1,clust2,clust3) <= ? */
@SuppressWarnings("static-access")
public final EntityWithComplexIndices_SelectIndex.E_TM clust1_And_clust2_Gte_And_clust1_And_clust2_And_clust3_Lte(final int clust1_Gte, final int clust2_Gte, final int clust1_Lte, final int clust2_Lte, final String clust3_Lte) {
where.and(QueryBuilder.gte(Arrays.asList("clust1","clust2"), Arrays.asList("clust1","clust2").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
where.and(QueryBuilder.lte(Arrays.asList("clust1","clust2","clust3"), Arrays.asList("clust1","clust2","clust3").stream().map(QueryBuilder::bindMarker).collect(Collectors.toList())));
boundValues.add(clust1_Gte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Gte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Gte, Optional.of(cassandraOptions)));
boundValues.add(clust1_Lte);
encodedValues.add(meta.clust1.encodeFromJava(clust1_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust2_Lte);
encodedValues.add(meta.clust2.encodeFromJava(clust2_Lte, Optional.of(cassandraOptions)));
boundValues.add(clust3_Lte);
encodedValues.add(meta.clust3.encodeFromJava(clust3_Lte, Optional.of(cassandraOptions)));
return EntityWithComplexIndices_SelectIndex.E_TM.this;
}
}
}
}