Package com.aneeshpu.dpdeppop.datatypes

Examples of com.aneeshpu.dpdeppop.datatypes.DataTypeFactory


class AutoIncrementBasedCreation implements ColumnCreationStrategy {

    private final DataTypeFactory dataTypeFactory;

    public AutoIncrementBasedCreation() {
        dataTypeFactory = new DataTypeFactory();
    }
View Full Code Here


    private Map<String, List<Tuple>> parentTableMetadata;


    public RecordBuilder(final Connection connection) {
        this.connection = connection;
        columnCreationStrategy = new DoNotGeneratePrimaryKeys(connection, new DataTypeFactory());
        queryFactory = new QueryFactory();
    }
View Full Code Here

    public static Record createRecordDontAssignPrimaryKeys(final String tableName, final Connection connection, final Map<String, Map<String, Object>> preassignedValues) {
        return new RecordBuilder(connection)
                .setName(tableName)
                .withPreassignedValues(preassignedValues)
                .setColumnCreationStrategy(new DoNotGeneratePrimaryKeys(connection, new DataTypeFactory()))
                .withQueryFactory()
                .createRecord();

    }
View Full Code Here

TOP

Related Classes of com.aneeshpu.dpdeppop.datatypes.DataTypeFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.