Codota Logo
ExecutionConfig.hasGenericTypesDisabled
Code IndexAdd Codota to your IDE (free)

How to use
hasGenericTypesDisabled
method
in
org.apache.flink.api.common.ExecutionConfig

Best Java code snippets using org.apache.flink.api.common.ExecutionConfig.hasGenericTypesDisabled (Showing top 4 results out of 315)

  • Common ways to obtain ExecutionConfig
private void myMethod () {
ExecutionConfig e =
  • Codota Iconnew ExecutionConfig()
  • Codota IconStreamExecutionEnvironment env;env.getConfig().disableSysoutLogging()
  • Codota IconExecutionEnvironment env;env.getConfig().disableSysoutLogging()
  • Smart code suggestions by Codota
}
origin: apache/flink

@Override
@PublicEvolving
public TypeSerializer<T> createSerializer(ExecutionConfig config) {
  if (config.hasGenericTypesDisabled()) {
    throw new UnsupportedOperationException(
      "Generic types have been disabled in the ExecutionConfig and type " + this.typeClass.getName() +
      " is treated as a generic type.");
  }
  return new KryoSerializer<T>(this.typeClass, config);
}
origin: apache/flink

assertEquals(forceAvroEnabled, copy1.isForceAvroEnabled());
assertEquals(forceKryoEnabled, copy1.isForceKryoEnabled());
assertEquals(disableGenericTypes, copy1.hasGenericTypesDisabled());
assertEquals(objectReuseEnabled, copy1.isObjectReuseEnabled());
assertEquals(sysoutLoggingEnabled, copy1.isSysoutLoggingEnabled());
origin: org.apache.flink/flink-core

@Override
@PublicEvolving
public TypeSerializer<T> createSerializer(ExecutionConfig config) {
  if (config.hasGenericTypesDisabled()) {
    throw new UnsupportedOperationException(
      "Generic types have been disabled in the ExecutionConfig and type " + this.typeClass.getName() +
      " is treated as a generic type.");
  }
  return new KryoSerializer<T>(this.typeClass, config);
}
origin: com.alibaba.blink/flink-core

@Override
@PublicEvolving
public TypeSerializer<T> createSerializer(ExecutionConfig config) {
  if (config.hasGenericTypesDisabled()) {
    throw new UnsupportedOperationException(
      "Generic types have been disabled in the ExecutionConfig and type " + this.typeClass.getName() +
      " is treated as a generic type.");
  }
  return new KryoSerializer<T>(this.typeClass, config);
}
org.apache.flink.api.commonExecutionConfighasGenericTypesDisabled

Javadoc

Checks whether generic types are supported. Generic types are types that go through Kryo during serialization.

Generic types are enabled by default.

Popular methods of ExecutionConfig

  • <init>
  • isObjectReuseEnabled
    Returns whether object reuse has been enabled or disabled. @see #enableObjectReuse()
  • disableSysoutLogging
    Disables the printing of progress update messages to System.out
  • getAutoWatermarkInterval
    Returns the interval of the automatic watermark emission.
  • setGlobalJobParameters
    Register a custom, serializable user configuration object.
  • enableObjectReuse
    Enables reusing objects that Flink internally uses for deserialization and passing data to user-code
  • setAutoWatermarkInterval
    Sets the interval of the automatic watermark emission. Watermarks are used throughout the streaming
  • disableObjectReuse
    Disables reusing objects that Flink internally uses for deserialization and passing data to user-cod
  • getRestartStrategy
    Returns the restart strategy which has been set for the current job.
  • isSysoutLoggingEnabled
    Gets whether progress update messages should be printed to System.out
  • registerKryoType
    Registers the given type with the serialization stack. If the type is eventually serialized as a POJ
  • registerTypeWithKryoSerializer
    Registers the given Serializer via its class as a serializer for the given type at the KryoSerialize
  • registerKryoType,
  • registerTypeWithKryoSerializer,
  • setRestartStrategy,
  • getParallelism,
  • addDefaultKryoSerializer,
  • getGlobalJobParameters,
  • getNumberOfExecutionRetries,
  • getRegisteredKryoTypes,
  • setParallelism,
  • getDefaultKryoSerializerClasses

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • putExtra (Intent)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
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