Package org.apache.calcite.avatica
Class AvaticaConnection.Trojan
- java.lang.Object
-
- org.apache.calcite.avatica.AvaticaConnection.Trojan
-
- Enclosing class:
- AvaticaConnection
public static class AvaticaConnection.Trojan extends java.lang.ObjectA way to call package-protected methods. But only a sub-class of connection can create one.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTrojan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.ResultSetexecute(AvaticaResultSet resultSet)A means for anyone who has a trojan to call the protected methodAvaticaResultSet.execute().MetagetMeta(AvaticaConnection connection)A means for anyone who has a trojan to get the protected fieldAvaticaConnection.meta.java.util.List<TypedValue>getParameterValues(AvaticaStatement statement)A means for anyone who has a trojan to call the protected methodAvaticaStatement.getParameterValues().
-
-
-
Method Detail
-
execute
public java.sql.ResultSet execute(AvaticaResultSet resultSet) throws java.sql.SQLException
A means for anyone who has a trojan to call the protected methodAvaticaResultSet.execute().- Throws:
java.sql.SQLException- if execute fails for some reason.
-
getParameterValues
public java.util.List<TypedValue> getParameterValues(AvaticaStatement statement)
A means for anyone who has a trojan to call the protected methodAvaticaStatement.getParameterValues().
-
getMeta
public Meta getMeta(AvaticaConnection connection)
A means for anyone who has a trojan to get the protected fieldAvaticaConnection.meta.
-
-