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

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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