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.
package info.archinnov.achilles.generated.manager;
import com.datastax.driver.core.BoundStatement;
import com.datastax.driver.core.PreparedStatement;
import com.datastax.driver.core.RegularStatement;
import info.archinnov.achilles.generated.dsl.MultiClusteringEntity_Delete;
import info.archinnov.achilles.generated.dsl.MultiClusteringEntity_Select;
import info.archinnov.achilles.generated.dsl.MultiClusteringEntity_Update;
import info.archinnov.achilles.generated.meta.entity.MultiClusteringEntity_AchillesMeta;
import info.archinnov.achilles.internals.dsl.crud.DeleteByPartitionWithOptions;
import info.archinnov.achilles.internals.dsl.crud.DeleteWithOptions;
import info.archinnov.achilles.internals.dsl.crud.FindWithOptions;
import info.archinnov.achilles.internals.dsl.crud.InsertJSONWithOptions;
import info.archinnov.achilles.internals.dsl.crud.InsertWithOptions;
import info.archinnov.achilles.internals.dsl.crud.UpdateWithOptions;
import info.archinnov.achilles.internals.dsl.raw.NativeQuery;
import info.archinnov.achilles.internals.dsl.raw.TypedQuery;
import info.archinnov.achilles.internals.entities.MultiClusteringEntity;
import info.archinnov.achilles.internals.options.CassandraOptions;
import info.archinnov.achilles.internals.runtime.AbstractManager;
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.Long;
import java.lang.Object;
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
public final class MultiClusteringEntity_Manager extends AbstractManager {
public final MultiClusteringEntity_AchillesMeta meta;
public MultiClusteringEntity_Manager(final Class entityClass, final MultiClusteringEntity_AchillesMeta meta, final RuntimeEngine rte) {
super(entityClass, meta, rte);
this.meta = meta;
}
/**
* Provide CRUD operations:
*
*
FIND BY ID
*
INSERT
*
INSERT STATIC
*
INSERT IF NOT EXISTS
*
DELETE BY ID
*
DELETE BY ID IF NOT EXISTS
*
DELETE BY PARTITION
*
*/
public final MultiClusteringEntity_CRUD crud() {
return new MultiClusteringEntity_CRUD();
}
/**
* Provide DSL methods:
*
*
SELECT
*
ITERATION ON SELECT
*
UPDATE
*
DELETE
*
*/
public final MultiClusteringEntity_DSL dsl() {
return new MultiClusteringEntity_DSL();
}
/**
* Provide Raw query methods:
*
*
Typed Queries (for SELECT only)
*
Native Queries (for any kind of statement)
*
*/
public final MultiClusteringEntity_RAW_QUERY raw() {
return new MultiClusteringEntity_RAW_QUERY();
}
public final class MultiClusteringEntity_CRUD {
private Optional cassandraOptions = Optional.empty();
;
public MultiClusteringEntity_Manager.MultiClusteringEntity_CRUD withSchemaNameProvider(final SchemaNameProvider schemaNameProvider) {
Validator.validateNotNull(schemaNameProvider,"The provided schemaNameProvider should not be null");
this.cassandraOptions = Optional.of(CassandraOptions.withSchemaNameProvider(schemaNameProvider));
return this;
}
/**
* Find an entity by its complete primary key@param id partition key 'id'@param c1 clustering column 'c1'@param c2 clustering column 'c2'@return FindWithOptions */
public FindWithOptions findById(final Long id, final int c1, final int c2) {
List