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

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

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

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

this.comment = isNullOrAbsent(row, COMMENT) ? "" : row.getString(COMMENT);
this.readRepair = row.getDouble(READ_REPAIR);
  is210OrHigher || isNullOrAbsent(row, REPLICATE_ON_WRITE)
    ? DEFAULT_REPLICATE_ON_WRITE
    : row.getBool(REPLICATE_ON_WRITE);
this.gcGrace = row.getInt(GC_GRACE);
this.bfFpChance =
  isNullOrAbsent(row, BF_FP_CHANCE) ? DEFAULT_BF_FP_CHANCE : row.getDouble(BF_FP_CHANCE);
  isNullOrAbsent(row, POPULATE_CACHE_ON_FLUSH)
    ? DEFAULT_POPULATE_CACHE_ON_FLUSH
    : row.getBool(POPULATE_CACHE_ON_FLUSH);
this.memtableFlushPeriodMs =
  is120 || isNullOrAbsent(row, MEMTABLE_FLUSH_PERIOD_MS)
    ? DEFAULT_MEMTABLE_FLUSH_PERIOD
    : row.getInt(MEMTABLE_FLUSH_PERIOD_MS);
this.defaultTTL =
  is120 || isNullOrAbsent(row, DEFAULT_TTL) ? DEFAULT_DEFAULT_TTL : row.getInt(DEFAULT_TTL);
this.speculativeRetry =
  is120 || isNullOrAbsent(row, SPECULATIVE_RETRY)
    ? DEFAULT_SPECULATIVE_RETRY
    : row.getString(SPECULATIVE_RETRY);
   isNullOrAbsent(row, INDEX_INTERVAL) ? DEFAULT_INDEX_INTERVAL : row.getInt(INDEX_INTERVAL);
else this.indexInterval = null;
   isNullOrAbsent(row, MIN_INDEX_INTERVAL)
     ? DEFAULT_MIN_INDEX_INTERVAL
origin: com.yugabyte/cassandra-driver-core

this.comment = isNullOrAbsent(row, COMMENT) ? "" : row.getString(COMMENT);
this.readRepair = row.getDouble(READ_REPAIR);
this.replicateOnWrite = is210OrHigher || isNullOrAbsent(row, REPLICATE_ON_WRITE) ? DEFAULT_REPLICATE_ON_WRITE : row.getBool(REPLICATE_ON_WRITE);
this.gcGrace = row.getInt(GC_GRACE);
this.bfFpChance = isNullOrAbsent(row, BF_FP_CHANCE) ? DEFAULT_BF_FP_CHANCE : row.getDouble(BF_FP_CHANCE);
this.populateCacheOnFlush = isNullOrAbsent(row, POPULATE_CACHE_ON_FLUSH) ? DEFAULT_POPULATE_CACHE_ON_FLUSH : row.getBool(POPULATE_CACHE_ON_FLUSH);
this.memtableFlushPeriodMs = is120 || isNullOrAbsent(row, MEMTABLE_FLUSH_PERIOD_MS) ? DEFAULT_MEMTABLE_FLUSH_PERIOD : row.getInt(MEMTABLE_FLUSH_PERIOD_MS);
this.defaultTTL = is120 || isNullOrAbsent(row, DEFAULT_TTL) ? DEFAULT_DEFAULT_TTL : row.getInt(DEFAULT_TTL);
this.speculativeRetry = is120 || isNullOrAbsent(row, SPECULATIVE_RETRY) ? DEFAULT_SPECULATIVE_RETRY : row.getString(SPECULATIVE_RETRY);
  this.indexInterval = isNullOrAbsent(row, INDEX_INTERVAL) ? DEFAULT_INDEX_INTERVAL : row.getInt(INDEX_INTERVAL);
else
  this.indexInterval = null;
  this.minIndexInterval = isNullOrAbsent(row, MIN_INDEX_INTERVAL)
      ? DEFAULT_MIN_INDEX_INTERVAL
      : row.getInt(MIN_INDEX_INTERVAL);
  this.maxIndexInterval = isNullOrAbsent(row, MAX_INDEX_INTERVAL)
      ? DEFAULT_MAX_INDEX_INTERVAL
      : row.getInt(MAX_INDEX_INTERVAL);
  this.crcCheckChance = isNullOrAbsent(row, CRC_CHECK_CHANCE)
      ? DEFAULT_CRC_CHECK_CHANCE
      : row.getDouble(CRC_CHECK_CHANCE);
  this.cdc = isNullOrAbsent(row, CDC)
      ? DEFAULT_CDC
origin: io.prestosql.cassandra/cassandra-driver

this.comment = isNullOrAbsent(row, COMMENT) ? "" : row.getString(COMMENT);
this.readRepair = row.getDouble(READ_REPAIR);
  this.localReadRepair = row.getDouble(LOCAL_READ_REPAIR);
this.replicateOnWrite = is210OrHigher || isNullOrAbsent(row, REPLICATE_ON_WRITE) ? DEFAULT_REPLICATE_ON_WRITE : row.getBool(REPLICATE_ON_WRITE);
this.gcGrace = row.getInt(GC_GRACE);
this.bfFpChance = isNullOrAbsent(row, BF_FP_CHANCE) ? DEFAULT_BF_FP_CHANCE : row.getDouble(BF_FP_CHANCE);
this.populateCacheOnFlush = isNullOrAbsent(row, POPULATE_CACHE_ON_FLUSH) ? DEFAULT_POPULATE_CACHE_ON_FLUSH : row.getBool(POPULATE_CACHE_ON_FLUSH);
this.memtableFlushPeriodMs = is120 || isNullOrAbsent(row, MEMTABLE_FLUSH_PERIOD_MS) ? DEFAULT_MEMTABLE_FLUSH_PERIOD : row.getInt(MEMTABLE_FLUSH_PERIOD_MS);
this.defaultTTL = is120 || isNullOrAbsent(row, DEFAULT_TTL) ? DEFAULT_DEFAULT_TTL : row.getInt(DEFAULT_TTL);
this.speculativeRetry = is120 || isNullOrAbsent(row, SPECULATIVE_RETRY) ? DEFAULT_SPECULATIVE_RETRY : row.getString(SPECULATIVE_RETRY);
  this.indexInterval = isNullOrAbsent(row, INDEX_INTERVAL) ? DEFAULT_INDEX_INTERVAL : row.getInt(INDEX_INTERVAL);
else
  this.indexInterval = null;
  this.minIndexInterval = isNullOrAbsent(row, MIN_INDEX_INTERVAL)
      ? DEFAULT_MIN_INDEX_INTERVAL
      : row.getInt(MIN_INDEX_INTERVAL);
  this.maxIndexInterval = isNullOrAbsent(row, MAX_INDEX_INTERVAL)
      ? DEFAULT_MAX_INDEX_INTERVAL
      : row.getInt(MAX_INDEX_INTERVAL);
  this.crcCheckChance = isNullOrAbsent(row, CRC_CHECK_CHANCE)
      ? DEFAULT_CRC_CHECK_CHANCE
      : row.getDouble(CRC_CHECK_CHANCE);
origin: com.facebook.presto.cassandra/cassandra-driver

this.comment = isNullOrAbsent(row, COMMENT) ? "" : row.getString(COMMENT);
this.readRepair = row.getDouble(READ_REPAIR);
  this.localReadRepair = row.getDouble(LOCAL_READ_REPAIR);
this.replicateOnWrite = is210OrHigher || isNullOrAbsent(row, REPLICATE_ON_WRITE) ? DEFAULT_REPLICATE_ON_WRITE : row.getBool(REPLICATE_ON_WRITE);
this.gcGrace = row.getInt(GC_GRACE);
this.bfFpChance = isNullOrAbsent(row, BF_FP_CHANCE) ? DEFAULT_BF_FP_CHANCE : row.getDouble(BF_FP_CHANCE);
this.populateCacheOnFlush = isNullOrAbsent(row, POPULATE_CACHE_ON_FLUSH) ? DEFAULT_POPULATE_CACHE_ON_FLUSH : row.getBool(POPULATE_CACHE_ON_FLUSH);
this.memtableFlushPeriodMs = is120 || isNullOrAbsent(row, MEMTABLE_FLUSH_PERIOD_MS) ? DEFAULT_MEMTABLE_FLUSH_PERIOD : row.getInt(MEMTABLE_FLUSH_PERIOD_MS);
this.defaultTTL = is120 || isNullOrAbsent(row, DEFAULT_TTL) ? DEFAULT_DEFAULT_TTL : row.getInt(DEFAULT_TTL);
this.speculativeRetry = is120 || isNullOrAbsent(row, SPECULATIVE_RETRY) ? DEFAULT_SPECULATIVE_RETRY : row.getString(SPECULATIVE_RETRY);
  this.indexInterval = isNullOrAbsent(row, INDEX_INTERVAL) ? DEFAULT_INDEX_INTERVAL : row.getInt(INDEX_INTERVAL);
else
  this.indexInterval = null;
  this.minIndexInterval = isNullOrAbsent(row, MIN_INDEX_INTERVAL)
      ? DEFAULT_MIN_INDEX_INTERVAL
      : row.getInt(MIN_INDEX_INTERVAL);
  this.maxIndexInterval = isNullOrAbsent(row, MAX_INDEX_INTERVAL)
      ? DEFAULT_MAX_INDEX_INTERVAL
      : row.getInt(MAX_INDEX_INTERVAL);
  this.crcCheckChance = isNullOrAbsent(row, CRC_CHECK_CHANCE)
      ? DEFAULT_CRC_CHECK_CHANCE
      : row.getDouble(CRC_CHECK_CHANCE);
com.datastax.driver.coreTableOptionsMetadataisNullOrAbsent

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.
  • getIndexInterval
    Returns the index interval option for this table. Note: this option is not available in Cassandra 1.
  • 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
  • getMaxIndexInterval,
  • getMinIndexInterval,
  • getReadRepairChance,
  • getReplicateOnWrite,
  • getSpeculativeRetry,
  • isCompactStorage,
  • <init>,
  • isCDC,
  • getMemtableFlushPeriodInMs

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JList (javax.swing)
  • Option (scala)
  • Top Sublime Text plugins
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