Class PhoenixMetaFactoryImpl
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.phoenix.queryserver.server.PhoenixMetaFactoryImpl
- All Implemented Interfaces:
org.apache.calcite.avatica.Meta.Factory,org.apache.hadoop.conf.Configurable,PhoenixMetaFactory
public class PhoenixMetaFactoryImpl
extends org.apache.hadoop.conf.Configured
implements PhoenixMetaFactory
Bridge between Phoenix and Avatica.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.avatica.MetagetConnectionUrl(Properties props, org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
JDBC_PROTOCOL
- See Also:
-
JDBC_PROTOCOL_SEPARATOR
public static final char JDBC_PROTOCOL_SEPARATOR- See Also:
-
JDBC_PROTOCOL_TERMINATOR
public static final char JDBC_PROTOCOL_TERMINATOR- See Also:
-
-
Constructor Details
-
PhoenixMetaFactoryImpl
public PhoenixMetaFactoryImpl() -
PhoenixMetaFactoryImpl
public PhoenixMetaFactoryImpl(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
create
- Specified by:
createin interfaceorg.apache.calcite.avatica.Meta.Factory
-
getConnectionUrl
public String getConnectionUrl(Properties props, org.apache.hadoop.conf.Configuration conf) throws ClassNotFoundException, SQLException - Returns:
- connection url using the various properties set in props and conf.
- Throws:
ClassNotFoundExceptionSQLException
-