Tabnine Logo
TableOptionsMetadata.getIndexInterval
Code IndexAdd Tabnine to your IDE (free)

How to use
getIndexInterval
method
in
com.datastax.driver.core.TableOptionsMetadata

Best Java code snippets using com.datastax.driver.core.TableOptionsMetadata.getIndexInterval (Showing top 6 results out of 315)

origin: com.datastax.cassandra/cassandra-driver-core

  .append(options.getSpeculativeRetry())
  .append('\'');
if (options.getIndexInterval() != null)
 and(sb, formatted).append("index_interval = ").append(options.getIndexInterval());
origin: com.datastax.cassandra/cassandra-driver-core

assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.9PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.9PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.0PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.0PERCENTILE"); // default
assertThat(table.getOptions().getIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMinIndexInterval()).isNull();
assertThat(table.getOptions().getMaxIndexInterval()).isNull();
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0); // default
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("NONE"); // default
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isNull();
assertThat(table.getOptions().getMaxIndexInterval()).isNull();
origin: io.prestosql.cassandra/cassandra-driver

and(sb, formatted).append("default_time_to_live = ").append(options.getDefaultTimeToLive());
and(sb, formatted).append("speculative_retry = '").append(options.getSpeculativeRetry()).append('\'');
if (options.getIndexInterval() != null)
  and(sb, formatted).append("index_interval = ").append(options.getIndexInterval());
origin: com.facebook.presto.cassandra/cassandra-driver

and(sb, formatted).append("default_time_to_live = ").append(options.getDefaultTimeToLive());
and(sb, formatted).append("speculative_retry = '").append(options.getSpeculativeRetry()).append('\'');
if (options.getIndexInterval() != null)
  and(sb, formatted).append("index_interval = ").append(options.getIndexInterval());
origin: com.yugabyte/cassandra-driver-core

and(sb, formatted).append("default_time_to_live = ").append(options.getDefaultTimeToLive());
and(sb, formatted).append("speculative_retry = '").append(options.getSpeculativeRetry()).append('\'');
if (options.getIndexInterval() != null)
  and(sb, formatted).append("index_interval = ").append(options.getIndexInterval());
origin: com.datastax.dse/dse-java-driver-core

assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.9PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.9PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.0PERCENTILE");
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMaxIndexInterval()).isEqualTo(2048);
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0);
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("99.0PERCENTILE"); // default
assertThat(table.getOptions().getIndexInterval()).isEqualTo(128);
assertThat(table.getOptions().getMinIndexInterval()).isNull();
assertThat(table.getOptions().getMaxIndexInterval()).isNull();
assertThat(table.getOptions().getDefaultTimeToLive()).isEqualTo(0); // default
assertThat(table.getOptions().getSpeculativeRetry()).isEqualTo("NONE"); // default
assertThat(table.getOptions().getIndexInterval()).isNull();
assertThat(table.getOptions().getMinIndexInterval()).isNull();
assertThat(table.getOptions().getMaxIndexInterval()).isNull();
com.datastax.driver.coreTableOptionsMetadatagetIndexInterval

Javadoc

Returns the index interval option for this table.

Note: this option is not available in Cassandra 1.2 (more precisely, it is not configurable per-table) and will return 128 (the default index interval) when connected to 1.2 nodes. It is deprecated in Cassandra 2.1 and above, and will therefore return null for 2.1 nodes.

Popular methods of TableOptionsMetadata

  • getCompaction
    Returns the compaction options for this table.
  • getComment
    Returns the commentary set for this table.
  • getDefaultTimeToLive
    Returns the default TTL for this table. Note: this option is not available in Cassandra 1.2 and will
  • getCompression
    Returns the compression options for this table.
  • getBloomFilterFalsePositiveChance
    Returns the false positive chance for the Bloom filter of this table.
  • getCaching
    Returns the caching options for this table.
  • getCrcCheckChance
    When compression is enabled, this option defines the probability with which checksums for compressed
  • getGcGraceInSeconds
    Returns the tombstone garbage collection grace time in seconds for this table.
  • getLocalReadRepairChance
    Returns the cluster local read repair chance set for this table.
  • getMaxIndexInterval
    Returns the maximum index interval option for this table. Note: this option is available in Cassandr
  • getMinIndexInterval
    Returns the minimum index interval option for this table. Note: this option is available in Cassandr
  • getReadRepairChance
    Returns the chance with which a read repair is triggered for this table.
  • getMinIndexInterval,
  • getReadRepairChance,
  • getReplicateOnWrite,
  • getSpeculativeRetry,
  • isCompactStorage,
  • <init>,
  • isCDC,
  • isNullOrAbsent,
  • getMemtableFlushPeriodInMs

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • putExtra (Intent)
  • String (java.lang)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now