public class CqlConfigHelper
extends java.lang.Object
| Constructor and Description | 
|---|
| CqlConfigHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.datastax.driver.core.Cluster | getCluster(java.lang.String[] hosts,
          org.apache.hadoop.conf.Configuration conf,
          int port) | 
| static com.datastax.driver.core.Cluster | getInputCluster(java.lang.String[] hosts,
               org.apache.hadoop.conf.Configuration conf) | 
| static com.datastax.driver.core.Cluster | getInputCluster(java.lang.String host,
               org.apache.hadoop.conf.Configuration conf) | 
| static java.lang.String | getInputcolumns(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputCoreConnections(org.apache.hadoop.conf.Configuration conf) | 
| static java.lang.String | getInputCql(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputMaxConnections(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputMaxSimultReqPerConnections(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeAuthProvider(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputNativeConnectionTimeout(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Boolean> | getInputNativeKeepAlive(org.apache.hadoop.conf.Configuration conf) | 
| static int | getInputNativePort(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputNativeReadConnectionTimeout(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputNativeReceiveBufferSize(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Boolean> | getInputNativeReuseAddress(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputNativeSendBufferSize(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputNativeSolinger(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeSSLCipherSuites(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeSSLKeystorePassword(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeSSLKeystorePath(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeSSLTruststorePassword(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.String> | getInputNativeSSLTruststorePath(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Boolean> | getInputNativeTcpNodelay(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<java.lang.Integer> | getInputPageRowSize(org.apache.hadoop.conf.Configuration conf) | 
| static java.lang.String | getInputWhereClauses(org.apache.hadoop.conf.Configuration conf) | 
| static com.datastax.driver.core.Cluster | getOutputCluster(java.lang.String[] hosts,
                org.apache.hadoop.conf.Configuration conf) | 
| static com.datastax.driver.core.Cluster | getOutputCluster(java.lang.String host,
                org.apache.hadoop.conf.Configuration conf) | 
| static java.lang.String | getOutputCql(org.apache.hadoop.conf.Configuration conf) | 
| static int | getOutputNativePort(org.apache.hadoop.conf.Configuration conf) | 
| static com.google.common.base.Optional<com.datastax.driver.core.SSLOptions> | getSSLOptions(org.apache.hadoop.conf.Configuration conf) | 
| static void | setInputColumns(org.apache.hadoop.conf.Configuration conf,
               java.lang.String columns)Set the CQL columns for the input of this job. | 
| static void | setInputCoreConnections(org.apache.hadoop.conf.Configuration conf,
                       java.lang.String connections) | 
| static void | setInputCql(org.apache.hadoop.conf.Configuration conf,
           java.lang.String cql) | 
| static void | setInputCQLPageRowSize(org.apache.hadoop.conf.Configuration conf,
                      java.lang.String cqlPageRowSize)Set the CQL query Limit for the input of this job. | 
| static void | setInputMaxConnections(org.apache.hadoop.conf.Configuration conf,
                      java.lang.String connections) | 
| static void | setInputMaxSimultReqPerConnections(org.apache.hadoop.conf.Configuration conf,
                                  java.lang.String reqs) | 
| static void | setInputNativeAuthProvider(org.apache.hadoop.conf.Configuration conf,
                          java.lang.String authProvider) | 
| static void | setInputNativeConnectionTimeout(org.apache.hadoop.conf.Configuration conf,
                               java.lang.String timeout) | 
| static void | setInputNativeKeepAlive(org.apache.hadoop.conf.Configuration conf,
                       java.lang.String keepAlive) | 
| static void | setInputNativePort(org.apache.hadoop.conf.Configuration conf,
                  java.lang.String port) | 
| static void | setInputNativeReadConnectionTimeout(org.apache.hadoop.conf.Configuration conf,
                                   java.lang.String timeout) | 
| static void | setInputNativeReceiveBufferSize(org.apache.hadoop.conf.Configuration conf,
                               java.lang.String size) | 
| static void | setInputNativeReuseAddress(org.apache.hadoop.conf.Configuration conf,
                          java.lang.String reuseAddress) | 
| static void | setInputNativeSendBufferSize(org.apache.hadoop.conf.Configuration conf,
                            java.lang.String size) | 
| static void | setInputNativeSolinger(org.apache.hadoop.conf.Configuration conf,
                      java.lang.String solinger) | 
| static void | setInputNativeSSLCipherSuites(org.apache.hadoop.conf.Configuration conf,
                             java.lang.String suites) | 
| static void | setInputNativeSSLKeystorePassword(org.apache.hadoop.conf.Configuration conf,
                                 java.lang.String pass) | 
| static void | setInputNativeSSLKeystorePath(org.apache.hadoop.conf.Configuration conf,
                             java.lang.String path) | 
| static void | setInputNativeSSLTruststorePassword(org.apache.hadoop.conf.Configuration conf,
                                   java.lang.String pass) | 
| static void | setInputNativeSSLTruststorePath(org.apache.hadoop.conf.Configuration conf,
                               java.lang.String path) | 
| static void | setInputNativeTcpNodelay(org.apache.hadoop.conf.Configuration conf,
                        java.lang.String tcpNodelay) | 
| static void | setInputWhereClauses(org.apache.hadoop.conf.Configuration conf,
                    java.lang.String clauses)Set the CQL user defined where clauses for the input of this job. | 
| static void | setOutputCql(org.apache.hadoop.conf.Configuration conf,
            java.lang.String cql)Set the CQL prepared statement for the output of this job. | 
| static void | setUserNameAndPassword(org.apache.hadoop.conf.Configuration conf,
                      java.lang.String username,
                      java.lang.String password) | 
public static void setInputColumns(org.apache.hadoop.conf.Configuration conf,
                                   java.lang.String columns)
conf - Job configuration you are about to runcolumns - public static void setInputCQLPageRowSize(org.apache.hadoop.conf.Configuration conf,
                                          java.lang.String cqlPageRowSize)
conf - Job configuration you are about to runcqlPageRowSize - public static void setInputWhereClauses(org.apache.hadoop.conf.Configuration conf,
                                        java.lang.String clauses)
conf - Job configuration you are about to runclauses - public static void setOutputCql(org.apache.hadoop.conf.Configuration conf,
                                java.lang.String cql)
conf - Job configuration you are about to runcql - public static void setInputCql(org.apache.hadoop.conf.Configuration conf,
                               java.lang.String cql)
public static void setUserNameAndPassword(org.apache.hadoop.conf.Configuration conf,
                                          java.lang.String username,
                                          java.lang.String password)
public static com.google.common.base.Optional<java.lang.Integer> getInputCoreConnections(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputMaxConnections(org.apache.hadoop.conf.Configuration conf)
public static int getInputNativePort(org.apache.hadoop.conf.Configuration conf)
public static int getOutputNativePort(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputMaxSimultReqPerConnections(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputNativeConnectionTimeout(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputNativeReadConnectionTimeout(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputNativeReceiveBufferSize(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputNativeSendBufferSize(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputNativeSolinger(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Boolean> getInputNativeTcpNodelay(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Boolean> getInputNativeReuseAddress(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeAuthProvider(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeSSLTruststorePath(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeSSLKeystorePath(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeSSLKeystorePassword(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeSSLTruststorePassword(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.String> getInputNativeSSLCipherSuites(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Boolean> getInputNativeKeepAlive(org.apache.hadoop.conf.Configuration conf)
public static java.lang.String getInputcolumns(org.apache.hadoop.conf.Configuration conf)
public static com.google.common.base.Optional<java.lang.Integer> getInputPageRowSize(org.apache.hadoop.conf.Configuration conf)
public static java.lang.String getInputWhereClauses(org.apache.hadoop.conf.Configuration conf)
public static java.lang.String getInputCql(org.apache.hadoop.conf.Configuration conf)
public static java.lang.String getOutputCql(org.apache.hadoop.conf.Configuration conf)
public static com.datastax.driver.core.Cluster getInputCluster(java.lang.String host,
                                                               org.apache.hadoop.conf.Configuration conf)
public static com.datastax.driver.core.Cluster getInputCluster(java.lang.String[] hosts,
                                                               org.apache.hadoop.conf.Configuration conf)
public static com.datastax.driver.core.Cluster getOutputCluster(java.lang.String host,
                                                                org.apache.hadoop.conf.Configuration conf)
public static com.datastax.driver.core.Cluster getOutputCluster(java.lang.String[] hosts,
                                                                org.apache.hadoop.conf.Configuration conf)
public static com.datastax.driver.core.Cluster getCluster(java.lang.String[] hosts,
                                                          org.apache.hadoop.conf.Configuration conf,
                                                          int port)
public static void setInputCoreConnections(org.apache.hadoop.conf.Configuration conf,
                                           java.lang.String connections)
public static void setInputMaxConnections(org.apache.hadoop.conf.Configuration conf,
                                          java.lang.String connections)
public static void setInputMaxSimultReqPerConnections(org.apache.hadoop.conf.Configuration conf,
                                                      java.lang.String reqs)
public static void setInputNativeConnectionTimeout(org.apache.hadoop.conf.Configuration conf,
                                                   java.lang.String timeout)
public static void setInputNativeReadConnectionTimeout(org.apache.hadoop.conf.Configuration conf,
                                                       java.lang.String timeout)
public static void setInputNativeReceiveBufferSize(org.apache.hadoop.conf.Configuration conf,
                                                   java.lang.String size)
public static void setInputNativeSendBufferSize(org.apache.hadoop.conf.Configuration conf,
                                                java.lang.String size)
public static void setInputNativeSolinger(org.apache.hadoop.conf.Configuration conf,
                                          java.lang.String solinger)
public static void setInputNativeTcpNodelay(org.apache.hadoop.conf.Configuration conf,
                                            java.lang.String tcpNodelay)
public static void setInputNativeAuthProvider(org.apache.hadoop.conf.Configuration conf,
                                              java.lang.String authProvider)
public static void setInputNativeSSLTruststorePath(org.apache.hadoop.conf.Configuration conf,
                                                   java.lang.String path)
public static void setInputNativeSSLKeystorePath(org.apache.hadoop.conf.Configuration conf,
                                                 java.lang.String path)
public static void setInputNativeSSLKeystorePassword(org.apache.hadoop.conf.Configuration conf,
                                                     java.lang.String pass)
public static void setInputNativeSSLTruststorePassword(org.apache.hadoop.conf.Configuration conf,
                                                       java.lang.String pass)
public static void setInputNativeSSLCipherSuites(org.apache.hadoop.conf.Configuration conf,
                                                 java.lang.String suites)
public static void setInputNativeReuseAddress(org.apache.hadoop.conf.Configuration conf,
                                              java.lang.String reuseAddress)
public static void setInputNativeKeepAlive(org.apache.hadoop.conf.Configuration conf,
                                           java.lang.String keepAlive)
public static void setInputNativePort(org.apache.hadoop.conf.Configuration conf,
                                      java.lang.String port)
public static com.google.common.base.Optional<com.datastax.driver.core.SSLOptions> getSSLOptions(org.apache.hadoop.conf.Configuration conf)
Copyright © 2018 The Apache Software Foundation