ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Search Ask AI
ScyllaDB Docs ScyllaDB Node.js Driver API Reference Classes Host

Host¶

Host()

Represents a Cassandra node.

Constructor¶

new Host()

Creates a new Host instance.

Source

host.js, line 13

Extends¶

  • EventEmitter

Members¶

address :String

Gets ip address and port number of the node separated by :.

Type:
  • String

Source

host.js, line 23

cassandraVersion :String

Gets string containing the Cassandra version.

Type:
  • String

Source

host.js, line 29

datacenter :String

Gets data center name of the node.

Type:
  • String

Source

host.js, line 35

dseVersion

Source

host.js, line 61

Deprecated

Not supported by the driver. Usage will throw an error.

hostId :Uuid

Gets the id of the host.

This identifier is used by the server for internal communication / gossip.

Type:
  • Uuid

Source

host.js, line 55

rack :String

Gets rack name of the node.

Type:
  • String

Source

host.js, line 41

tokens :Array

Gets the tokens assigned to the node.

Type:
  • Array

Source

host.js, line 47

workloads

Source

host.js, line 73

Deprecated

Not supported by the driver. Usage will throw an error.

Methods¶

canBeConsideredAsUp() → {boolean}

This endpoint is not yet implemented, and its usage will throw an error

Determines if the host can be considered as UP. Deprecated: Use Host#isUp() instead.

Source

host.js, line 99

Returns:
Type
boolean

getCassandraVersion() → {Array:.<Number:>}

This endpoint is not yet implemented, and its usage will throw an error

Returns an array containing the Cassandra Version as an Array of Numbers having the major version in the first position.

Source

host.js, line 110

Returns:
Type
Array:.<Number:>

getDseVersion()

Source

host.js, line 127

Deprecated

Not supported by the driver. Usage will throw an error.

isUp() → {boolean}

This endpoint is not yet implemented, and its usage will throw an error

Determines if the node is UP now (seen as UP by the driver).

Source

host.js, line 88

Returns:
Type
boolean

(package, static) fromRust(hostWrapper)

Creates a Host instance from a Rust HostWrapper.

Parameters:
Name Type Description
hostWrapper _rust.HostWrapper

Source

host.js, line 136

Was this page helpful?

PREVIOUS
HashSet
NEXT
HostMap
  • Create an issue
  • Edit this page

On this page

  • Host
    • Constructor
    • Extends
    • Members
    • Methods
ScyllaDB Node.js Driver
Search Ask AI
  • main
    • main
  • API Reference
    • Modules
      • auth
        • AuthProvider
        • Authenticator
        • PlainTextAuthProvider
      • concurrent
      • datastax
      • errors
        • ArgumentError
        • AuthenticationError
        • BusyConnectionError
        • DriverInternalError
        • NoHostAvailableError
        • NotSupportedError
        • OperationTimedOutError
        • ResponseError
      • geometry
      • mapping
        • DefaultTableMappings
        • Mapper
        • ModelBatchItem
        • ModelMapper
        • Result
        • UnderscoreCqlToCamelCaseMappings
        • TableMappings
      • metadata
        • Aggregate
        • ClientState
        • ColumnMetadata
        • Index
        • KeyspaceMetadata
        • MaterializedView
        • Metadata
        • SchemaFunction
        • Strategy
        • TableMetadata
        • UdtField
        • UserDefinedType
      • metrics
        • DefaultMetrics
        • ClientMetrics
      • policies
        • addressResolution
          • AddressTranslator
          • EC2MultiRegionTranslator
          • MappingAddressTranslator
        • loadBalancing
          • AllowListPolicy
          • DCAwareRoundRobinPolicy
          • DefaultLoadBalancingPolicy
          • LegacyDefaultLoadBalancingPolicy
          • LoadBalancingConfig
          • LoadBalancingPolicy
          • RoundRobinPolicy
          • TokenAwarePolicy
        • reconnection
          • ConstantReconnectionPolicy
          • ExponentialReconnectionPolicy
          • ReconnectionPolicy
        • retry
          • FallthroughRetryPolicy
          • RetryPolicy
        • speculativeExecution
          • ConstantSpeculativeExecutionPolicy
          • NoSpeculativeExecutionPolicy
          • SpeculativeExecutionPolicy
        • timestampGeneration
          • MonotonicTimestampGenerator
          • TimestampGenerator
      • tracker
        • RequestLogger
        • RequestTracker
      • types
        • Duration
        • InetAddress
        • Integer
        • LocalDate
        • Long
        • ResultSet
        • ResultStream
        • Row
        • TimeUuid
        • Vector
    • Classes
      • AddressResolver
      • ByteOrderedToken
      • Client
      • Encoder
      • EncoderMembers
      • ExecutionOptions
      • ExecutionProfile
      • FrameReader
      • HashSet
      • Host
      • HostMap
      • LineString
      • Murmur3Token
      • Point
      • Polygon
      • PreparedInfo
      • RandomToken
      • SslOptions
      • Token
      • TokenRange
    • Interfaces
    • Events
    • Global Functions and Constants
Docs Tutorials University Contact Us About Us
© 2026 ScyllaDB | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 14 May 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.2