Tabnine Logo
ImmutableList.copyOf
Code IndexAdd Tabnine to your IDE (free)

How to use
copyOf
method
in
org.apache.beam.vendor.guava.v20_0.com.google.common.collect.ImmutableList

Best Java code snippets using org.apache.beam.vendor.guava.v20_0.com.google.common.collect.ImmutableList.copyOf (Showing top 4 results out of 315)

origin: org.apache.beam/beam-runners-flink_2.11

@Override
public Iterable<ValueT> read() {
 try {
  Iterable<ValueT> result =
    flinkStateBackend
      .getPartitionedState(
        namespace.stringKey(), StringSerializer.INSTANCE, flinkStateDescriptor)
      .values();
  return result != null ? ImmutableList.copyOf(result) : Collections.emptyList();
 } catch (Exception e) {
  throw new RuntimeException("Error get map state values.", e);
 }
}
origin: org.apache.beam/beam-runners-flink_2.11

@Override
public Iterable<KeyT> read() {
 try {
  Iterable<KeyT> result =
    flinkStateBackend
      .getPartitionedState(
        namespace.stringKey(), StringSerializer.INSTANCE, flinkStateDescriptor)
      .keys();
  return result != null ? ImmutableList.copyOf(result) : Collections.emptyList();
 } catch (Exception e) {
  throw new RuntimeException("Error get map state keys.", e);
 }
}
origin: org.apache.beam/beam-runners-flink_2.11

@Override
public Iterable<T> read() {
 try {
  Iterable<T> result =
    flinkStateBackend
      .getPartitionedState(
        namespace.stringKey(), StringSerializer.INSTANCE, flinkStateDescriptor)
      .keys();
  return result != null ? ImmutableList.copyOf(result) : Collections.emptyList();
 } catch (Exception e) {
  throw new RuntimeException("Error read from state.", e);
 }
}
origin: org.apache.beam/beam-runners-flink_2.11

  };
 return result != null ? ImmutableList.copyOf(result) : Collections.emptyList();
} catch (Exception e) {
 throw new RuntimeException("Error reading state.", e);
org.apache.beam.vendor.guava.v20_0.com.google.common.collectImmutableListcopyOf

Popular methods of ImmutableList

  • of
  • builder
  • isEmpty
  • size

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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