rename packages

This commit is contained in:
Albert Shift 2015-03-30 12:49:44 -07:00
parent ae483bb3a1
commit 2abd7a9e10
107 changed files with 346 additions and 373 deletions

View file

@ -17,6 +17,17 @@ Current status: Active development
* Latest Cassandra
* Maven
### Maven
Active development dependency:
```
<dependency>
<groupId>com.noorq.casser</groupId>
<artifactId>casser-core</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
```
### Example
Entity definition:

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser;
import casser.core.Casser;
import casser.core.CasserSession;
import casser.core.Filter;
import casser.core.Prepared;
import casser.core.operation.SelectOperation;
import casser.core.tuple.Tuple1;
import casser.core.tuple.Tuple2;
package com.noorq.casser;
import com.datastax.driver.core.Cluster;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.CasserSession;
import com.noorq.casser.core.Filter;
import com.noorq.casser.core.Prepared;
import com.noorq.casser.core.operation.SelectOperation;
import com.noorq.casser.core.tuple.Tuple1;
import com.noorq.casser.core.tuple.Tuple2;
public class Example {

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser;
package com.noorq.casser;
import casser.mapping.Table;
import com.noorq.casser.mapping.Table;
@Table("user")
public interface User {

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.config;
package com.noorq.casser.config;
import java.lang.reflect.Method;
import java.util.function.Function;
import casser.core.DslInstantiator;
import casser.core.WrapperInstantiator;
import com.noorq.casser.core.DslInstantiator;
import com.noorq.casser.core.WrapperInstantiator;
public interface CasserSettings {

View file

@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.config;
package com.noorq.casser.config;
import java.lang.reflect.Method;
import java.util.function.Function;
import casser.core.DslInstantiator;
import casser.core.WrapperInstantiator;
import casser.core.reflect.ReflectionDslInstantiator;
import casser.core.reflect.ReflectionWrapperInstantiator;
import casser.mapping.convert.CamelCaseToUnderscoreConverter;
import com.noorq.casser.core.DslInstantiator;
import com.noorq.casser.core.WrapperInstantiator;
import com.noorq.casser.core.reflect.ReflectionDslInstantiator;
import com.noorq.casser.core.reflect.ReflectionWrapperInstantiator;
import com.noorq.casser.mapping.convert.CamelCaseToUnderscoreConverter;
public class DefaultCasserSettings implements CasserSettings {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.config;
package com.noorq.casser.config;
import java.lang.reflect.Method;
import java.util.function.Function;

View file

@ -13,23 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.concurrent.Executor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import casser.mapping.value.ColumnValuePreparer;
import casser.mapping.value.ColumnValueProvider;
import casser.support.CasserException;
import com.datastax.driver.core.RegularStatement;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.ResultSetFuture;
import com.datastax.driver.core.Session;
import com.datastax.driver.core.Statement;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.noorq.casser.mapping.value.ColumnValuePreparer;
import com.noorq.casser.mapping.value.ColumnValueProvider;
import com.noorq.casser.support.CasserException;
public abstract class AbstractSessionOperations {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
public enum AutoDsl {
VALIDATE,

View file

@ -13,19 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import casser.config.CasserSettings;
import casser.config.DefaultCasserSettings;
import casser.core.reflect.CasserPropertyNode;
import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;
import com.noorq.casser.config.CasserSettings;
import com.noorq.casser.config.DefaultCasserSettings;
import com.noorq.casser.core.reflect.CasserPropertyNode;

View file

@ -13,36 +13,35 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.io.Closeable;
import java.util.Objects;
import java.util.concurrent.Executor;
import casser.core.operation.CountOperation;
import casser.core.operation.DeleteOperation;
import casser.core.operation.SelectOperation;
import casser.core.operation.UpdateOperation;
import casser.core.operation.UpsertOperation;
import casser.core.reflect.CasserPropertyNode;
import casser.core.tuple.Tuple1;
import casser.core.tuple.Tuple2;
import casser.core.tuple.Tuple3;
import casser.core.tuple.Tuple4;
import casser.core.tuple.Tuple5;
import casser.core.tuple.Tuple6;
import casser.core.tuple.Tuple7;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import casser.mapping.MappingUtil;
import casser.mapping.value.ColumnValuePreparer;
import casser.mapping.value.ColumnValueProvider;
import casser.mapping.value.RowColumnValueProvider;
import casser.mapping.value.StatementColumnValuePreparer;
import com.datastax.driver.core.CloseFuture;
import com.datastax.driver.core.Session;
import com.noorq.casser.core.operation.CountOperation;
import com.noorq.casser.core.operation.DeleteOperation;
import com.noorq.casser.core.operation.SelectOperation;
import com.noorq.casser.core.operation.UpdateOperation;
import com.noorq.casser.core.operation.UpsertOperation;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.core.tuple.Tuple1;
import com.noorq.casser.core.tuple.Tuple2;
import com.noorq.casser.core.tuple.Tuple3;
import com.noorq.casser.core.tuple.Tuple4;
import com.noorq.casser.core.tuple.Tuple5;
import com.noorq.casser.core.tuple.Tuple6;
import com.noorq.casser.core.tuple.Tuple7;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.mapping.value.ColumnValuePreparer;
import com.noorq.casser.mapping.value.ColumnValueProvider;
import com.noorq.casser.mapping.value.RowColumnValueProvider;
import com.noorq.casser.mapping.value.StatementColumnValuePreparer;
public class CasserSession extends AbstractSessionOperations implements Closeable {

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.Optional;
import casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.core.reflect.CasserPropertyNode;
public interface DslInstantiator {

View file

@ -13,18 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.Objects;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.MappingUtil;
import casser.mapping.value.ColumnValuePreparer;
import casser.support.CasserMappingException;
import com.datastax.driver.core.querybuilder.Clause;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.mapping.value.ColumnValuePreparer;
import com.noorq.casser.support.CasserMappingException;
public final class Filter<V> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
public interface Getter<V> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.HashMap;
import java.util.Map;

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.Comparator;
import casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingProperty;
public enum OrdinalBasedPropertyComparator implements Comparator<CasserMappingProperty> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
public class Prepared<O> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.ArrayList;
import java.util.Collections;
@ -21,13 +21,6 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
import casser.mapping.CasserEntityType;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CqlUtil;
import casser.mapping.OrderingDirection;
import casser.support.CasserMappingException;
import com.datastax.driver.core.ColumnMetadata;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.RegularStatement;
@ -39,6 +32,12 @@ import com.datastax.driver.core.schemabuilder.Create.Options;
import com.datastax.driver.core.schemabuilder.CreateType;
import com.datastax.driver.core.schemabuilder.SchemaBuilder;
import com.datastax.driver.core.schemabuilder.SchemaStatement;
import com.noorq.casser.mapping.CasserEntityType;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CqlUtil;
import com.noorq.casser.mapping.OrderingDirection;
import com.noorq.casser.support.CasserMappingException;
public final class SchemaUtil {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.ArrayList;
import java.util.List;
@ -21,19 +21,18 @@ import java.util.Objects;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import casser.mapping.CasserEntityType;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingRepository;
import casser.mapping.value.ColumnValuePreparer;
import casser.mapping.value.ColumnValueProvider;
import casser.mapping.value.RowColumnValueProvider;
import casser.mapping.value.StatementColumnValuePreparer;
import com.datastax.driver.core.KeyspaceMetadata;
import com.datastax.driver.core.Session;
import com.datastax.driver.core.TableMetadata;
import com.datastax.driver.core.UserType;
import com.google.common.util.concurrent.MoreExecutors;
import com.noorq.casser.mapping.CasserEntityType;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingRepository;
import com.noorq.casser.mapping.value.ColumnValuePreparer;
import com.noorq.casser.mapping.value.ColumnValueProvider;
import com.noorq.casser.mapping.value.RowColumnValueProvider;
import com.noorq.casser.mapping.value.StatementColumnValuePreparer;
public class SessionInitializer extends AbstractSessionOperations {

View file

@ -13,18 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.List;
import casser.mapping.CasserMappingEntity;
import casser.support.CasserException;
import com.datastax.driver.core.RegularStatement;
import com.datastax.driver.core.TableMetadata;
import com.datastax.driver.core.querybuilder.Batch;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.schemabuilder.SchemaStatement;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.support.CasserException;
public final class TableOperations {

View file

@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingRepository;
package com.noorq.casser.core;
import com.datastax.driver.core.UserType;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingRepository;
public final class UserTypeOperations {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core;
package com.noorq.casser.core;
import java.util.Map;

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.collection;
package com.noorq.casser.core.collection;
import java.util.List;
import casser.core.Getter;
import com.noorq.casser.core.Getter;
public final class CList {

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.collection;
package com.noorq.casser.core.collection;
import java.util.Map;
import casser.core.Getter;
import com.noorq.casser.core.Getter;
public final class CMap {

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.collection;
package com.noorq.casser.core.collection;
import java.util.List;
import casser.core.Getter;
import com.noorq.casser.core.Getter;
public final class CSet {

View file

@ -13,9 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
import casser.core.AbstractSessionOperations;
package com.noorq.casser.core.operation;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.ResultSetFuture;
@ -23,6 +21,7 @@ import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.google.common.base.Function;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.noorq.casser.core.AbstractSessionOperations;
public abstract class AbstractEntityOperation<E, O extends AbstractEntityOperation<E, O>> extends AbstractOperation<E, O> {

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.LinkedList;
import java.util.List;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.core.Operator;
import casser.core.Getter;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.core.Getter;
import com.noorq.casser.core.Operator;
public abstract class AbstractFilterOperation<E, O extends AbstractFilterOperation<E, O>> extends AbstractEntityOperation<E, O> {

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.LinkedList;
import java.util.List;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.core.Operator;
import casser.core.Getter;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.core.Getter;
import com.noorq.casser.core.Operator;
public abstract class AbstractFilterStreamOperation<E, O extends AbstractFilterStreamOperation<E, O>> extends AbstractStreamOperation<E, O> {

View file

@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
import casser.core.AbstractSessionOperations;
import casser.core.Prepared;
package com.noorq.casser.core.operation;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Prepared;
public abstract class AbstractOperation<E, O extends AbstractOperation<E, O>> {

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.stream.Stream;
import casser.core.AbstractSessionOperations;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.ResultSetFuture;
import com.google.common.base.Function;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.noorq.casser.core.AbstractSessionOperations;
public abstract class AbstractStreamOperation<E, O extends AbstractStreamOperation<E, O>> extends AbstractOperation<E, O> {

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.mapping.CasserMappingEntity;
package com.noorq.casser.core.operation;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.querybuilder.Select;
import com.datastax.driver.core.querybuilder.Select.Where;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.mapping.CasserMappingEntity;
public final class CountOperation extends AbstractFilterOperation<Long, CountOperation> {

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.mapping.CasserMappingEntity;
package com.noorq.casser.core.operation;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.datastax.driver.core.querybuilder.Delete;
import com.datastax.driver.core.querybuilder.Delete.Where;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.mapping.CasserMappingEntity;
public final class DeleteOperation extends AbstractFilterOperation<ResultSet, DeleteOperation> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.ArrayList;
import java.util.List;
@ -24,16 +24,6 @@ import java.util.function.Function;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.core.Getter;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.MappingUtil;
import casser.mapping.OrderingDirection;
import casser.support.CasserMappingException;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.Row;
import com.datastax.driver.core.querybuilder.BuiltStatement;
@ -42,6 +32,15 @@ import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.querybuilder.Select;
import com.datastax.driver.core.querybuilder.Select.Selection;
import com.datastax.driver.core.querybuilder.Select.Where;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.core.Getter;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.mapping.OrderingDirection;
import com.noorq.casser.support.CasserMappingException;
public final class SelectOperation<E> extends AbstractFilterStreamOperation<E, SelectOperation<E>> {

View file

@ -1,4 +1,4 @@
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.function.Function;
import java.util.stream.Stream;

View file

@ -13,23 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
package com.noorq.casser.core.operation;
import java.util.Arrays;
import java.util.Objects;
import casser.core.AbstractSessionOperations;
import casser.core.Filter;
import casser.core.Getter;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingEntity;
import casser.mapping.MappingUtil;
import casser.support.CasserMappingException;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.querybuilder.Update;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.core.Filter;
import com.noorq.casser.core.Getter;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.support.CasserMappingException;
public final class UpdateOperation extends AbstractFilterOperation<ResultSet, UpdateOperation> {

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.operation;
import casser.core.AbstractSessionOperations;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.BeanColumnValueProvider;
package com.noorq.casser.core.operation;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.querybuilder.BuiltStatement;
import com.datastax.driver.core.querybuilder.Insert;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.noorq.casser.core.AbstractSessionOperations;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.BeanColumnValueProvider;
public final class UpsertOperation extends AbstractEntityOperation<ResultSet, UpsertOperation> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.util.ArrayList;
import java.util.Collections;
@ -22,9 +22,9 @@ import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CqlUtil;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CqlUtil;
public final class CasserPropertyNode implements Iterable<CasserMappingProperty> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.util.HashMap;
import java.util.Map;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
@ -21,12 +21,12 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import casser.core.Casser;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.support.CasserException;
import casser.support.CasserMappingException;
import casser.support.DslPropertyException;
import com.noorq.casser.core.Casser;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.support.CasserException;
import com.noorq.casser.support.CasserMappingException;
import com.noorq.casser.support.DslPropertyException;
public class DslInvocationHandler<E> implements InvocationHandler {

View file

@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.lang.reflect.Proxy;
import java.util.Optional;
import casser.core.DslInstantiator;
import com.noorq.casser.core.DslInstantiator;
public enum ReflectionDslInstantiator implements DslInstantiator {

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.lang.reflect.Proxy;
import java.util.Map;
import casser.core.WrapperInstantiator;
import casser.mapping.MapExportable;
import com.noorq.casser.core.WrapperInstantiator;
import com.noorq.casser.mapping.MapExportable;
public enum ReflectionWrapperInstantiator implements WrapperInstantiator {

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.reflect;
package com.noorq.casser.core.reflect;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.Map;
import casser.mapping.MapExportable;
import casser.support.CasserException;
import com.noorq.casser.mapping.MapExportable;
import com.noorq.casser.support.CasserException;
public class WrapperInvocationHandler<E> implements InvocationHandler {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple1<V1> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple2<V1, V2> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple3<V1, V2, V3> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple4<V1, V2, V3, V4> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple5<V1, V2, V3, V4, V5> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple6<V1, V2, V3, V4, V5, V6> {

View file

@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.core.tuple;
package com.noorq.casser.core.tuple;
import java.util.function.Function;
import casser.core.reflect.CasserPropertyNode;
import casser.mapping.CasserMappingProperty;
import casser.mapping.value.ColumnValueProvider;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.value.ColumnValueProvider;
public final class Tuple7<V1, V2, V3, V4, V5, V6, V7> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.util.Collection;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
public enum CasserEntityType {
TABLE, USER_DEFINED_TYPE;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.reflect.Method;
import java.util.Collection;
@ -22,9 +22,9 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import casser.config.CasserSettings;
import casser.core.Casser;
import casser.support.CasserMappingException;
import com.noorq.casser.config.CasserSettings;
import com.noorq.casser.core.Casser;
import com.noorq.casser.support.CasserMappingException;
public class CasserMappingEntity implements CasserEntity {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
@ -27,19 +27,18 @@ import java.util.Set;
import java.util.UUID;
import java.util.function.Function;
import casser.mapping.convert.DateToTimeUUIDConverter;
import casser.mapping.convert.EntityToUDTValueConverter;
import casser.mapping.convert.EnumToStringConverter;
import casser.mapping.convert.StringToEnumConverter;
import casser.mapping.convert.TimeUUIDToDateConverter;
import casser.mapping.convert.TypedConverter;
import casser.mapping.convert.UDTValueToEntityConverter;
import casser.support.CasserMappingException;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.UDTValue;
import com.datastax.driver.core.schemabuilder.SchemaBuilder;
import com.datastax.driver.core.schemabuilder.UDTType;
import com.noorq.casser.mapping.convert.DateToTimeUUIDConverter;
import com.noorq.casser.mapping.convert.EntityToUDTValueConverter;
import com.noorq.casser.mapping.convert.EnumToStringConverter;
import com.noorq.casser.mapping.convert.StringToEnumConverter;
import com.noorq.casser.mapping.convert.TimeUUIDToDateConverter;
import com.noorq.casser.mapping.convert.TypedConverter;
import com.noorq.casser.mapping.convert.UDTValueToEntityConverter;
import com.noorq.casser.support.CasserMappingException;
public class CasserMappingProperty implements CasserProperty {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.util.Collection;
import java.util.Collections;
@ -21,11 +21,10 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import casser.support.CasserException;
import casser.support.CasserMappingException;
import com.datastax.driver.core.UserType;
import com.datastax.driver.core.schemabuilder.UDTType;
import com.noorq.casser.support.CasserException;
import com.noorq.casser.support.CasserMappingException;
public class CasserMappingRepository {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.util.Optional;
import java.util.function.Function;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
public final class CqlUtil {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.util.Map;

View file

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.reflect.Method;
import casser.core.Casser;
import casser.core.Getter;
import casser.core.reflect.CasserPropertyNode;
import casser.support.CasserMappingException;
import casser.support.DslPropertyException;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.Getter;
import com.noorq.casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.support.CasserMappingException;
import com.noorq.casser.support.DslPropertyException;
public final class MappingUtil {

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import casser.support.CasserMappingException;
import com.noorq.casser.support.CasserMappingException;
public enum OrderingDirection {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.reflect.Type;
import java.util.HashMap;
@ -21,9 +21,8 @@ import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import casser.support.CasserException;
import com.datastax.driver.core.DataType;
import com.noorq.casser.support.CasserException;
public class SimpleDataTypes {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;

View file

@ -13,16 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import casser.mapping.value.UDTColumnValueProvider;
import casser.support.CasserMappingException;
import com.datastax.driver.core.UDTValue;
import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.CasserMappingException;
public final class UDTValueMap implements Map<String, Object> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping;
package com.noorq.casser.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.function.Function;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.Date;
import java.util.UUID;

View file

@ -13,22 +13,21 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.function.Function;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import casser.mapping.MapExportable;
import casser.mapping.value.BeanColumnValueProvider;
import casser.mapping.value.UDTColumnValuePreparer;
import casser.support.CasserMappingException;
import com.datastax.driver.core.UDTValue;
import com.datastax.driver.core.UserType;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
import com.noorq.casser.mapping.MapExportable;
import com.noorq.casser.mapping.value.BeanColumnValueProvider;
import com.noorq.casser.mapping.value.UDTColumnValuePreparer;
import com.noorq.casser.support.CasserMappingException;
public final class EntityToUDTValueConverter implements Function<Object, UDTValue> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.function.Function;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.function.Function;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.Date;
import java.util.UUID;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.security.SecureRandom;
import java.util.Date;

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.function.Function;
import casser.support.CasserMappingException;
import com.noorq.casser.support.CasserMappingException;
public class TypedConverter<I, O> implements Function<Object, Object> {

View file

@ -13,19 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.Map;
import java.util.function.Function;
import casser.core.Casser;
import casser.mapping.CasserMappingEntity;
import casser.mapping.CasserMappingRepository;
import casser.mapping.UDTValueMap;
import casser.mapping.value.UDTColumnValueProvider;
import casser.support.CasserMappingException;
import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.Casser;
import com.noorq.casser.mapping.CasserMappingEntity;
import com.noorq.casser.mapping.CasserMappingRepository;
import com.noorq.casser.mapping.UDTValueMap;
import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.CasserMappingException;
public final class UDTValueToEntityConverter implements Function<UDTValue, Object> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.convert;
package com.noorq.casser.mapping.convert;
import java.util.UUID;

View file

@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import java.lang.reflect.Method;
import casser.mapping.CasserMappingProperty;
import casser.support.CasserMappingException;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.support.CasserMappingException;
public enum BeanColumnValueProvider implements ColumnValueProvider {

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingProperty;
public interface ColumnValuePreparer {

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingProperty;
public interface ColumnValueProvider {

View file

@ -13,20 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import com.datastax.driver.core.ColumnDefinitions;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.ProtocolVersion;
import com.datastax.driver.core.Row;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
public final class RowColumnValueProvider implements ColumnValueProvider {

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import java.util.Optional;
import java.util.function.Function;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
public final class StatementColumnValuePreparer implements ColumnValuePreparer {

View file

@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import java.util.Optional;
import java.util.function.Function;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.ProtocolVersion;
import com.datastax.driver.core.UserType;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
public final class UDTColumnValuePreparer implements ColumnValuePreparer {

View file

@ -13,19 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.mapping.value;
package com.noorq.casser.mapping.value;
import java.nio.ByteBuffer;
import java.util.Optional;
import java.util.function.Function;
import casser.mapping.CasserMappingProperty;
import casser.mapping.CasserMappingRepository;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.ProtocolVersion;
import com.datastax.driver.core.UDTValue;
import com.datastax.driver.core.UserType;
import com.noorq.casser.mapping.CasserMappingProperty;
import com.noorq.casser.mapping.CasserMappingRepository;
public final class UDTColumnValueProvider implements ColumnValueProvider {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
public class CasserException extends RuntimeException {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
public class CasserMappingException extends CasserException {

View file

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
import casser.core.reflect.CasserPropertyNode;
import com.noorq.casser.core.reflect.CasserPropertyNode;
public class DslPropertyException extends CasserException {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
import java.util.function.Function;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
public enum EitherCase {
LEFT, RIGHT;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
public final class Mutable<T> {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.support;
package com.noorq.casser.support;
import java.lang.reflect.Array;
import java.util.Objects;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.build;
package com.noorq.casser.test.integration.build;
import java.io.IOException;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.build;
package com.noorq.casser.test.integration.build;
import java.io.InputStream;
import java.util.Properties;

View file

@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.core;
package com.noorq.casser.test.integration.core;
import org.junit.Test;
import casser.core.Casser;
import casser.core.CasserSession;
import casser.test.integration.build.AbstractEmbeddedCassandraTest;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.CasserSession;
import com.noorq.casser.test.integration.build.AbstractEmbeddedCassandraTest;
public class ContextInitTest extends AbstractEmbeddedCassandraTest {

View file

@ -1,4 +1,4 @@
package casser.test.integration.core.collection;
package com.noorq.casser.test.integration.core.collection;
import java.util.HashMap;
import java.util.Map;
@ -7,10 +7,6 @@ import java.util.UUID;
import org.junit.Before;
import org.junit.Test;
import casser.core.Casser;
import casser.core.CasserSession;
import casser.test.integration.build.AbstractEmbeddedCassandraTest;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.Row;
@ -19,6 +15,9 @@ import com.datastax.driver.core.querybuilder.Insert;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.datastax.driver.core.schemabuilder.Create;
import com.datastax.driver.core.schemabuilder.SchemaBuilder;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.CasserSession;
import com.noorq.casser.test.integration.build.AbstractEmbeddedCassandraTest;
public class CollectionTest extends AbstractEmbeddedCassandraTest {

View file

@ -1,14 +1,13 @@
package casser.test.integration.core.collection;
package com.noorq.casser.test.integration.core.collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import casser.mapping.DataTypeName;
import casser.mapping.PartitionKey;
import casser.mapping.Table;
import com.datastax.driver.core.DataType.Name;
import com.noorq.casser.mapping.DataTypeName;
import com.noorq.casser.mapping.PartitionKey;
import com.noorq.casser.mapping.Table;
@Table
public interface Customer {

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.core.compound;
package com.noorq.casser.test.integration.core.compound;
import java.util.Date;
import java.util.UUID;
@ -22,10 +22,10 @@ import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import casser.core.Casser;
import casser.core.CasserSession;
import casser.support.Mutable;
import casser.test.integration.build.AbstractEmbeddedCassandraTest;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.CasserSession;
import com.noorq.casser.support.Mutable;
import com.noorq.casser.test.integration.build.AbstractEmbeddedCassandraTest;
public class CompondKeyTest extends AbstractEmbeddedCassandraTest {

View file

@ -13,19 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.core.compound;
package com.noorq.casser.test.integration.core.compound;
import java.util.Date;
import java.util.UUID;
import casser.mapping.ClusteringColumn;
import casser.mapping.Column;
import casser.mapping.DataTypeName;
import casser.mapping.PartitionKey;
import casser.mapping.Table;
import com.datastax.driver.core.DataType.Name;
import com.noorq.casser.mapping.ClusteringColumn;
import com.noorq.casser.mapping.Column;
import com.noorq.casser.mapping.DataTypeName;
import com.noorq.casser.mapping.PartitionKey;
import com.noorq.casser.mapping.Table;
@Table
public interface Timeline {

View file

@ -13,20 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.core.simple;
package com.noorq.casser.test.integration.core.simple;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import casser.core.Casser;
import casser.core.CasserSession;
import casser.core.Operator;
import casser.test.integration.build.AbstractEmbeddedCassandraTest;
import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.Row;
import com.noorq.casser.core.Casser;
import com.noorq.casser.core.CasserSession;
import com.noorq.casser.core.Operator;
import com.noorq.casser.test.integration.build.AbstractEmbeddedCassandraTest;
public class SimpleUserTest extends AbstractEmbeddedCassandraTest {

View file

@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package casser.test.integration.core.simple;
package com.noorq.casser.test.integration.core.simple;
import casser.mapping.Column;
import casser.mapping.PartitionKey;
import casser.mapping.Table;
import com.noorq.casser.mapping.Column;
import com.noorq.casser.mapping.PartitionKey;
import com.noorq.casser.mapping.Table;
@Table("simple_users")
public interface User {

Some files were not shown because too many files have changed in this diff Show more