Tabnine Logo
PeriodGranularity.bucketEnd
Code IndexAdd Tabnine to your IDE (free)

How to use
bucketEnd
method
in
org.apache.druid.java.util.common.granularity.PeriodGranularity

Best Java code snippets using org.apache.druid.java.util.common.granularity.PeriodGranularity.bucketEnd (Showing top 4 results out of 315)

origin: apache/incubator-druid

@Nonnull
@Override
public ExprEval eval(final ObjectBinding bindings)
{
 final PeriodGranularity granularity = getGranularity(args, bindings);
 return ExprEval.of(granularity.bucketEnd(DateTimes.utc(args.get(0).eval(bindings).asLong())).getMillis());
}
origin: apache/incubator-druid

  null
);
final long startTime = granularity.bucketEnd(DateTimes.nowUtc()).getMillis();
origin: org.apache.druid/druid-processing

@Nonnull
@Override
public ExprEval eval(final ObjectBinding bindings)
{
 final PeriodGranularity granularity = getGranularity(args, bindings);
 return ExprEval.of(granularity.bucketEnd(DateTimes.utc(args.get(0).eval(bindings).asLong())).getMillis());
}
origin: org.apache.druid/druid-indexing-service

  null
);
final long startTime = granularity.bucketEnd(DateTimes.nowUtc()).getMillis();
org.apache.druid.java.util.common.granularityPeriodGranularitybucketEnd

Popular methods of PeriodGranularity

  • <init>
  • bucketStart
  • getPeriod
  • getTimeZone
  • getOrigin
  • getDateValues
  • getIterable
  • increment
  • isCompoundPeriod
  • serialize
  • truncate
  • truncateCompoundPeriod
  • truncate,
  • truncateCompoundPeriod,
  • truncateMillisPeriod,
  • toDateTime

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Path (java.nio.file)
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Vim 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