Codota Logo
TimePartitioning.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.google.cloud.bigquery.TimePartitioning
constructor

Best Java code snippets using com.google.cloud.bigquery.TimePartitioning.<init> (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.google.cloud/gcloud-java-bigquery

/**
 * Returns a {@code TimePartitioning} object given the time partitioning type and the partition's
 * expiration in milliseconds.
 *
 * @param type the time partitioning type. Currently, the only type supported is {@link Type#DAY},
 *     which will generate one partition per day based on data loading time.
 * @param expirationMs the number of milliseconds for which to keep the storage for a partition
 */
public static TimePartitioning of(Type type, long expirationMs) {
 return new TimePartitioning(type, expirationMs);
}
origin: com.google.cloud/gcloud-java-bigquery

/**
 * Returns a {@code TimePartitioning} object given the time partitioning type. Currently, the only
 * type supported is {@link Type#DAY}, which will generate one partition per day based on data
 * loading time.
 */
public static TimePartitioning of(Type type) {
 return new TimePartitioning(type, null);
}
origin: com.google.cloud/gcloud-java-bigquery

 static TimePartitioning fromPb(
   com.google.api.services.bigquery.model.TimePartitioning partitioningPb) {
  return new TimePartitioning(
    Type.valueOf(partitioningPb.getType()), partitioningPb.getExpirationMs());
 }
}
com.google.cloud.bigqueryTimePartitioning<init>

Popular methods of TimePartitioning

  • of
    Returns a TimePartitioning object given the time partitioning type and the partition's expiration in
  • fromPb
  • toPb
  • getExpirationMs
    Returns the number of milliseconds for which to keep the storage for a partition. When expired, the
  • getField
    If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partiti
  • getRequirePartitionFilter
    If set to true, queries over this table require a partition filter (that can be used for partition e
  • getType
    Returns the time partitioning type. Currently, the only type supported is Type#DAY, which will gener
  • newBuilder
    Returns a TimePartitioning object given the time partitioning type. Currently, the only type support

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Reference (javax.naming)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now