group converter packages by type

This commit is contained in:
Albert Shift 2015-04-23 00:12:39 -07:00
parent 3ea8d3b8d8
commit 14a771ca9c
29 changed files with 72 additions and 48 deletions

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
public final class EntityToTupleValueConverter extends TupleValueWriter implements Function<Object, TupleValue> { public final class EntityToTupleValueConverter extends TupleValueWriter implements Function<Object, TupleValue> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToTupleKeyMapConverter implements Function<Object, Object> { public final class MapToTupleKeyMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToTupleMapConverter implements Function<Object, Object> { public final class MapToTupleMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToTupleValueMapConverter implements Function<Object, Object> { public final class MapToTupleValueMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Set; import java.util.Set;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class SetToTupleSetConverter implements Function<Object, Object> { public final class SetToTupleSetConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.List; import java.util.List;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Set; import java.util.Set;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.tuple;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleValue; import com.datastax.driver.core.TupleValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.TupleColumnValueProvider; import com.noorq.casser.mapping.value.TupleColumnValueProvider;
public final class TupleValueToEntityConverter extends ProxyValueReader<TupleValue> implements Function<TupleValue, Object> { public final class TupleValueToEntityConverter extends ProxyValueReader<TupleValue> implements Function<TupleValue, Object> {

View file

@ -13,10 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
public final class EntityToUDTValueConverter extends UDTValueWriter { public final class EntityToUDTValueConverter extends UDTValueWriter {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.List; import java.util.List;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class ListToUDTListConverter implements Function<Object, Object> { public final class ListToUDTListConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToUDTKeyMapConverter implements Function<Object, Object> { public final class MapToUDTKeyMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToUDTMapConverter implements Function<Object, Object> { public final class MapToUDTMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class MapToUDTValueMapConverter implements Function<Object, Object> { public final class MapToUDTValueMapConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Set; import java.util.Set;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UserType; import com.datastax.driver.core.UserType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.UDTValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class SetToUDTSetConverter implements Function<Object, Object> { public final class SetToUDTSetConverter implements Function<Object, Object> {

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.List; import java.util.List;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Set; import java.util.Set;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.Map; import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;

View file

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.convert.udt;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.UDTValue; import com.datastax.driver.core.UDTValue;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.ProxyValueReader;
import com.noorq.casser.mapping.value.UDTColumnValueProvider; import com.noorq.casser.mapping.value.UDTColumnValueProvider;
public final class UDTValueToEntityConverter extends ProxyValueReader<UDTValue> implements Function<UDTValue, Object> { public final class UDTValueToEntityConverter extends ProxyValueReader<UDTValue> implements Function<UDTValue, Object> {

View file

@ -30,12 +30,12 @@ import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.ColumnType; import com.noorq.casser.mapping.ColumnType;
import com.noorq.casser.mapping.IdentityName; import com.noorq.casser.mapping.IdentityName;
import com.noorq.casser.mapping.annotation.Types; import com.noorq.casser.mapping.annotation.Types;
import com.noorq.casser.mapping.convert.ListToTupleListConverter; import com.noorq.casser.mapping.convert.tuple.TupleListToListConverter;
import com.noorq.casser.mapping.convert.ListToUDTListConverter; import com.noorq.casser.mapping.convert.udt.ListToUDTListConverter;
import com.noorq.casser.mapping.convert.TupleListToListConverter; import com.noorq.casser.mapping.convert.udt.UDTListToListConverter;
import com.noorq.casser.mapping.convert.UDTListToListConverter;
import com.noorq.casser.mapping.type.AbstractDataType; import com.noorq.casser.mapping.type.AbstractDataType;
import com.noorq.casser.mapping.type.DTDataType; import com.noorq.casser.mapping.type.DTDataType;
import com.noorq.casser.mapping.type.ListToTupleListConverter;
import com.noorq.casser.mapping.type.UDTListDataType; import com.noorq.casser.mapping.type.UDTListDataType;
import com.noorq.casser.support.CasserMappingException; import com.noorq.casser.support.CasserMappingException;
import com.noorq.casser.support.Either; import com.noorq.casser.support.Either;

View file

@ -30,18 +30,18 @@ import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.ColumnType; import com.noorq.casser.mapping.ColumnType;
import com.noorq.casser.mapping.IdentityName; import com.noorq.casser.mapping.IdentityName;
import com.noorq.casser.mapping.annotation.Types; import com.noorq.casser.mapping.annotation.Types;
import com.noorq.casser.mapping.convert.MapToTupleKeyMapConverter; import com.noorq.casser.mapping.convert.tuple.MapToTupleKeyMapConverter;
import com.noorq.casser.mapping.convert.MapToTupleMapConverter; import com.noorq.casser.mapping.convert.tuple.MapToTupleMapConverter;
import com.noorq.casser.mapping.convert.MapToTupleValueMapConverter; import com.noorq.casser.mapping.convert.tuple.MapToTupleValueMapConverter;
import com.noorq.casser.mapping.convert.MapToUDTKeyMapConverter; import com.noorq.casser.mapping.convert.tuple.TupleKeyMapToMapConverter;
import com.noorq.casser.mapping.convert.MapToUDTMapConverter; import com.noorq.casser.mapping.convert.tuple.TupleMapToMapConverter;
import com.noorq.casser.mapping.convert.MapToUDTValueMapConverter; import com.noorq.casser.mapping.convert.tuple.TupleValueMapToMapConverter;
import com.noorq.casser.mapping.convert.TupleKeyMapToMapConverter; import com.noorq.casser.mapping.convert.udt.MapToUDTKeyMapConverter;
import com.noorq.casser.mapping.convert.TupleMapToMapConverter; import com.noorq.casser.mapping.convert.udt.MapToUDTMapConverter;
import com.noorq.casser.mapping.convert.TupleValueMapToMapConverter; import com.noorq.casser.mapping.convert.udt.MapToUDTValueMapConverter;
import com.noorq.casser.mapping.convert.UDTKeyMapToMapConverter; import com.noorq.casser.mapping.convert.udt.UDTKeyMapToMapConverter;
import com.noorq.casser.mapping.convert.UDTMapToMapConverter; import com.noorq.casser.mapping.convert.udt.UDTMapToMapConverter;
import com.noorq.casser.mapping.convert.UDTValueMapToMapConverter; import com.noorq.casser.mapping.convert.udt.UDTValueMapToMapConverter;
import com.noorq.casser.mapping.type.AbstractDataType; import com.noorq.casser.mapping.type.AbstractDataType;
import com.noorq.casser.mapping.type.DTDataType; import com.noorq.casser.mapping.type.DTDataType;
import com.noorq.casser.mapping.type.UDTKeyMapDataType; import com.noorq.casser.mapping.type.UDTKeyMapDataType;

View file

@ -30,10 +30,10 @@ import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.ColumnType; import com.noorq.casser.mapping.ColumnType;
import com.noorq.casser.mapping.IdentityName; import com.noorq.casser.mapping.IdentityName;
import com.noorq.casser.mapping.annotation.Types; import com.noorq.casser.mapping.annotation.Types;
import com.noorq.casser.mapping.convert.SetToTupleSetConverter; import com.noorq.casser.mapping.convert.tuple.SetToTupleSetConverter;
import com.noorq.casser.mapping.convert.SetToUDTSetConverter; import com.noorq.casser.mapping.convert.tuple.TupleSetToSetConverter;
import com.noorq.casser.mapping.convert.TupleSetToSetConverter; import com.noorq.casser.mapping.convert.udt.SetToUDTSetConverter;
import com.noorq.casser.mapping.convert.UDTSetToSetConverter; import com.noorq.casser.mapping.convert.udt.UDTSetToSetConverter;
import com.noorq.casser.mapping.type.AbstractDataType; import com.noorq.casser.mapping.type.AbstractDataType;
import com.noorq.casser.mapping.type.DTDataType; import com.noorq.casser.mapping.type.DTDataType;
import com.noorq.casser.mapping.type.UDTSetDataType; import com.noorq.casser.mapping.type.UDTSetDataType;

View file

@ -32,9 +32,9 @@ import com.noorq.casser.mapping.ColumnType;
import com.noorq.casser.mapping.IdentityName; import com.noorq.casser.mapping.IdentityName;
import com.noorq.casser.mapping.MappingUtil; import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.mapping.annotation.Types; import com.noorq.casser.mapping.annotation.Types;
import com.noorq.casser.mapping.convert.EntityToTupleValueConverter;
import com.noorq.casser.mapping.convert.TupleValueToEntityConverter;
import com.noorq.casser.mapping.convert.TypedConverter; import com.noorq.casser.mapping.convert.TypedConverter;
import com.noorq.casser.mapping.convert.tuple.EntityToTupleValueConverter;
import com.noorq.casser.mapping.convert.tuple.TupleValueToEntityConverter;
import com.noorq.casser.mapping.type.AbstractDataType; import com.noorq.casser.mapping.type.AbstractDataType;
import com.noorq.casser.mapping.type.DTDataType; import com.noorq.casser.mapping.type.DTDataType;
import com.noorq.casser.support.CasserMappingException; import com.noorq.casser.support.CasserMappingException;

View file

@ -27,9 +27,9 @@ import com.noorq.casser.mapping.ColumnType;
import com.noorq.casser.mapping.IdentityName; import com.noorq.casser.mapping.IdentityName;
import com.noorq.casser.mapping.MappingUtil; import com.noorq.casser.mapping.MappingUtil;
import com.noorq.casser.mapping.annotation.Types; import com.noorq.casser.mapping.annotation.Types;
import com.noorq.casser.mapping.convert.EntityToUDTValueConverter;
import com.noorq.casser.mapping.convert.TypedConverter; import com.noorq.casser.mapping.convert.TypedConverter;
import com.noorq.casser.mapping.convert.UDTValueToEntityConverter; import com.noorq.casser.mapping.convert.udt.EntityToUDTValueConverter;
import com.noorq.casser.mapping.convert.udt.UDTValueToEntityConverter;
import com.noorq.casser.mapping.type.AbstractDataType; import com.noorq.casser.mapping.type.AbstractDataType;
import com.noorq.casser.mapping.type.UDTDataType; import com.noorq.casser.mapping.type.UDTDataType;
import com.noorq.casser.support.CasserMappingException; import com.noorq.casser.support.CasserMappingException;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package com.noorq.casser.mapping.convert; package com.noorq.casser.mapping.type;
import java.util.List; import java.util.List;
import java.util.function.Function; import java.util.function.Function;
import com.datastax.driver.core.TupleType; import com.datastax.driver.core.TupleType;
import com.noorq.casser.core.SessionRepository; import com.noorq.casser.core.SessionRepository;
import com.noorq.casser.mapping.convert.TupleValueWriter;
import com.noorq.casser.support.Transformers; import com.noorq.casser.support.Transformers;
public final class ListToTupleListConverter implements Function<Object, Object> { public final class ListToTupleListConverter implements Function<Object, Object> {