Class CassandraStorage.Builder

java.lang.Object
zipkin2.storage.StorageComponent.Builder
zipkin2.storage.cassandra.internal.CassandraStorageBuilder<CassandraStorage.Builder>
zipkin2.storage.cassandra.CassandraStorage.Builder
Enclosing class:
CassandraStorage

public static final class CassandraStorage.Builder extends zipkin2.storage.cassandra.internal.CassandraStorageBuilder<CassandraStorage.Builder>
  • Field Summary

    Fields inherited from class zipkin2.storage.cassandra.internal.CassandraStorageBuilder

    autocompleteCardinality, autocompleteKeys, autocompleteTtl, contactPoints, ensureSchema, indexFetchMultiplier, keyspace, localDc, maxTraceCols, password, searchEnabled, strictTraceId, username, useSsl
  • Method Summary

    Modifier and Type
    Method
    Description
     
    ensureSchema(boolean ensureSchema)
    Ensures that schema exists, if enabled tries to execute: io.zipkin.zipkin2:zipkin-storage-cassandra/zipkin2-schema.cql io.zipkin.zipkin2:zipkin-storage-cassandra/zipkin2-indexes.cql Defaults to true.
    keyspace(String keyspace)
    Keyspace to store span and index data.
    Override to control how sessions are created.

    Methods inherited from class zipkin2.storage.cassandra.internal.CassandraStorageBuilder

    autocompleteCardinality, autocompleteKeys, autocompleteTtl, contactPoints, indexFetchMultiplier, localDc, maxConnections, maxTraceCols, password, poolingOptions, searchEnabled, strictTraceId, username, useSsl

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait