public WhereClause build() { return new WhereClause(this); } }
/** * Creates the restrictions. * * @param cfm the column family meta data * @param boundNames the bound names * @param operations the column operations * @param where the where clause * @param conditions the conditions * @return the restrictions */ protected StatementRestrictions newRestrictions(CFMetaData cfm, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions) { if (where.containsCustomExpressions()) throw new InvalidRequestException(CUSTOM_EXPRESSIONS_NOT_ALLOWED); boolean applyOnlyToStaticColumns = appliesOnlyToStaticColumns(operations, conditions); return new StatementRestrictions(type, cfm, where, boundNames, applyOnlyToStaticColumns, false, false, false); }
return newRelations.size() != whereClause.relations.size() ? whereClause.copy(newRelations) : whereClause;
allowFiltering, isJson); WhereClause where = wclause == null ? WhereClause.empty() : wclause.build(); expr = new SelectStatement.RawStatement(cf, params, sclause, where, limit, perPartitionLimit);
/** * Creates the restrictions. * * @param cfm the column family meta data * @param boundNames the bound names * @param operations the column operations * @param where the where clause * @param conditions the conditions * @return the restrictions */ protected StatementRestrictions newRestrictions(CFMetaData cfm, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions) { if (where.containsCustomExpressions()) throw new InvalidRequestException(CUSTOM_EXPRESSIONS_NOT_ALLOWED); boolean applyOnlyToStaticColumns = appliesOnlyToStaticColumns(operations, conditions); return new StatementRestrictions(type, cfm, where, boundNames, applyOnlyToStaticColumns, false, false, false); }
return newRelations.size() != whereClause.relations.size() ? whereClause.copy(newRelations) : whereClause;
allowFiltering, isJson); WhereClause where = wclause == null ? WhereClause.empty() : wclause.build(); expr = new SelectStatement.RawStatement(cf, params, sclause, where, limit, perPartitionLimit);
public WhereClause copy(List<Relation> newRelations) { return new WhereClause(newRelations, expressions); }
/** * Creates the restrictions. * * @param cfm the column family meta data * @param boundNames the bound names * @param operations the column operations * @param where the where clause * @param conditions the conditions * @return the restrictions */ protected StatementRestrictions newRestrictions(CFMetaData cfm, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions) { if (where.containsCustomExpressions()) throw new InvalidRequestException(CUSTOM_EXPRESSIONS_NOT_ALLOWED); boolean applyOnlyToStaticColumns = appliesOnlyToStaticColumns(operations, conditions); return new StatementRestrictions(type, cfm, where, boundNames, applyOnlyToStaticColumns, false, false, false); }
return newRelations.size() != whereClause.relations.size() ? whereClause.copy(newRelations) : whereClause;
WhereClause where = wclause == null ? WhereClause.empty() : wclause.build(); expr = new CreateViewStatement(cf, basecf, sclause, where, partitionKeys, compositeKeys, ifNotExists);
public WhereClause build() { return new WhereClause(this); } }
if (whereClause.containsCustomExpressions()) processCustomIndexExpressions(whereClause.expressions, boundNames, secondaryIndexManager);
"Column value is mandatory for SuperColumn tables"); return newRelations.size() != whereClause.relations.size() ? whereClause.copy(newRelations) : whereClause;
WhereClause where = wclause == null ? WhereClause.empty() : wclause.build(); expr = new CreateViewStatement(cf, basecf, sclause, where, partitionKeys, compositeKeys, ifNotExists);
public WhereClause copy(List<Relation> newRelations) { return new WhereClause(newRelations, expressions); }
if (whereClause.containsCustomExpressions()) processCustomIndexExpressions(whereClause.expressions, boundNames, secondaryIndexManager);
"Column value is mandatory for SuperColumn tables"); return newRelations.size() != whereClause.relations.size() ? whereClause.copy(newRelations) : whereClause;
WhereClause where = wclause == null ? WhereClause.empty() : wclause.build(); expr = new CreateViewStatement(cf, basecf, sclause, where, partitionKeys, compositeKeys, ifNotExists);
public WhereClause build() { return new WhereClause(this); } }