DATACASS-39 : WIP : New Class Layout.

This commit is contained in:
David Webb
2013-11-22 23:47:00 -05:00
parent 8f448ac4d6
commit 3394c76b7d
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/*
* Copyright 2011-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cassandra.core;
/**
* <b>This is the primary class in core for binding many values to a Cassandra PreparedStatement.</b>
*
* <p>
* This factory will hold a cached version of the PreparedStatement, and bind many value sets to that statement
* returning a BoundStatement that can be passed to a Session.execute(Query).
* </p>
*
* @author David Webb
*
*/
public class BoundStatementFactory {
}

View File

@@ -120,6 +120,8 @@ public class PreparedStatementCreatorFactory {
private final List<?> parameters;
private PreparedStatement preparedStatement;
public PreparedStatementCreatorImpl(List<?> parameters) {
this(cql, parameters);
}
@@ -147,6 +149,7 @@ public class PreparedStatementCreatorFactory {
+ " parameters but expected " + declaredParameters.size());
}
}
}
/* (non-Javadoc)