public class ShardedConnection.ShardedStatement extends Object implements AutoCloseable, Serializable
Constructor and Description |
---|
ShardedStatement(String sql) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
PreparedStatement |
getFirst() |
PreparedStatement |
getForIndex(int index) |
PreparedStatement |
getForKey(Object key) |
public ShardedStatement(String sql) throws SQLException
SQLException
public PreparedStatement getForKey(Object key)
public PreparedStatement getForIndex(int index)
public PreparedStatement getFirst()
public void close() throws SQLException
close
in interface AutoCloseable
SQLException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.