congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StorageContext.getOffset
Code IndexAdd Tabnine to your IDE (free)

How to use
getOffset
method
in
org.apache.kylin.storage.StorageContext

Best Java code snippets using org.apache.kylin.storage.StorageContext.getOffset (Showing top 2 results out of 315)

origin: apache/kylin

public void applyLimitPushDown(IRealization realization, StorageLimitLevel storageLimitLevel) {
  if (storageLimitLevel == StorageLimitLevel.NO_LIMIT) {
    return;
  }
  if (!realization.supportsLimitPushDown()) {
    logger.warn("Not enabling limit push down because cube storage type not supported");
    return;
  }
  long temp = this.getOffset() + this.getLimit();
  if (!isValidPushDownLimit(temp)) {
    logger.warn("Not enabling limit push down because current limit is invalid: " + this.getLimit());
    return;
  }
  this.finalPushDownLimit = (int) temp;
  this.storageLimitLevel = storageLimitLevel;
  logger.info("Enabling limit push down: {} at level: {}", temp, storageLimitLevel);
}
origin: org.apache.kylin/kylin-core-storage

public void applyLimitPushDown(IRealization realization, StorageLimitLevel storageLimitLevel) {
  if (storageLimitLevel == StorageLimitLevel.NO_LIMIT) {
    return;
  }
  if (!realization.supportsLimitPushDown()) {
    logger.warn("Not enabling limit push down because cube storage type not supported");
    return;
  }
  long temp = this.getOffset() + this.getLimit();
  if (!isValidPushDownLimit(temp)) {
    logger.warn("Not enabling limit push down because current limit is invalid: " + this.getLimit());
    return;
  }
  this.finalPushDownLimit = (int) temp;
  this.storageLimitLevel = storageLimitLevel;
  logger.info("Enabling limit push down: {} at level: {}", temp, storageLimitLevel);
}
org.apache.kylin.storageStorageContextgetOffset

Popular methods of StorageContext

  • setThreshold
  • <init>
  • getCuboid
  • getLimit
  • hasSort
  • isExactAggregation
  • isLimitEnabled
  • setConnUrl
  • setCuboid
  • setExactAggregation
  • applyLimitPushDown
  • enableCoprocessor
  • applyLimitPushDown,
  • enableCoprocessor,
  • enableLimit,
  • enableStreamAggregate,
  • getAliasMap,
  • getConnUrl,
  • getFinalPushDownLimit,
  • getMapping,
  • getProcessedRowCount

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • 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