congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ExecutionConfig.hasGenericTypesDisabled
Code IndexAdd Tabnine 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)

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
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JLabel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • CodeWhisperer alternatives
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