Codota Logo
Host.setVersion
Code IndexAdd Codota to your IDE (free)

How to use
setVersion
method
in
com.datastax.driver.core.Host

Best Java code snippets using com.datastax.driver.core.Host.setVersion (Showing top 8 results out of 315)

  • Common ways to obtain Host
private void myMethod () {
Host h =
  • Codota IconControlConnection controlConnection;controlConnection.connectedHost()
  • Codota IconMetadata metadata;InetSocketAddress address;metadata.getHost(address)
  • Codota IconConcurrentMap concurrentMap;Object object;concurrentMap.get(object)
  • Smart code suggestions by Codota
}
origin: com.datastax.cassandra/cassandra-driver-core

if (cassandraVersions.get(i) != null) host.setVersion(cassandraVersions.get(i));
if (broadcastAddresses.get(i) != null)
 host.setBroadcastSocketAddress(broadcastAddresses.get(i));
origin: com.datastax.cassandra/cassandra-driver-core

host.setVersion(version);
origin: com.facebook.presto.cassandra/cassandra-driver

  updateLocationInfo(host, dcs.get(i), racks.get(i), isInitialConnection, cluster);
if (cassandraVersions.get(i) != null)
  host.setVersion(cassandraVersions.get(i));
if (broadcastAddresses.get(i) != null)
  host.setBroadcastAddress(broadcastAddresses.get(i));
origin: com.yugabyte/cassandra-driver-core

  updateLocationInfo(host, dcs.get(i), racks.get(i), isInitialConnection, cluster);
if (cassandraVersions.get(i) != null)
  host.setVersion(cassandraVersions.get(i));
if (broadcastAddresses.get(i) != null)
  host.setBroadcastAddress(broadcastAddresses.get(i));
origin: io.prestosql.cassandra/cassandra-driver

  updateLocationInfo(host, dcs.get(i), racks.get(i), isInitialConnection, cluster);
if (cassandraVersions.get(i) != null)
  host.setVersion(cassandraVersions.get(i));
if (broadcastAddresses.get(i) != null)
  host.setBroadcastAddress(broadcastAddresses.get(i));
origin: com.facebook.presto.cassandra/cassandra-driver

host.setVersion(version);
origin: io.prestosql.cassandra/cassandra-driver

host.setVersion(version);
origin: com.yugabyte/cassandra-driver-core

host.setVersion(version);
com.datastax.driver.coreHostsetVersion

Popular methods of Host

  • getAddress
    Returns the address that the driver will use to connect to the node. This is a shortcut for getSocke
  • getDatacenter
    Returns the name of the datacenter this host is part of. The returned datacenter name is the one as
  • getRack
    Returns the name of the rack this host is part of. The returned rack name is the one as known by Cas
  • getCassandraVersion
    The Cassandra version the host is running. It is also possible for this information to be unavailabl
  • isUp
    Returns whether the host is considered up by the driver. Please note that this is only the view of t
  • getSocketAddress
    Returns the address and port that the driver will use to connect to the node. This is the node's br
  • toString
  • equals
  • <init>
  • getBroadcastAddress
    Returns the node broadcast address (that is, the IP by which it should be contacted by other peers i
  • setDown
  • setLocationInfo
  • setDown,
  • setLocationInfo,
  • setUp,
  • wasJustAdded,
  • setDseGraphEnabled,
  • setDseVersion,
  • setDseWorkload,
  • setTokens,
  • getBroadcastSocketAddress

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now