- Common ways to obtain ExecutionConfig
private void myMethod () {ExecutionConfig e =
new ExecutionConfig()
StreamExecutionEnvironment env;env.getConfig().disableSysoutLogging()
ExecutionEnvironment env;env.getConfig().disableSysoutLogging()
- Smart code suggestions by Codota
}
@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); }
assertEquals(forceAvroEnabled, copy1.isForceAvroEnabled()); assertEquals(forceKryoEnabled, copy1.isForceKryoEnabled()); assertEquals(disableGenericTypes, copy1.hasGenericTypesDisabled()); assertEquals(objectReuseEnabled, copy1.isObjectReuseEnabled()); assertEquals(sysoutLoggingEnabled, copy1.isSysoutLoggingEnabled());
@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); }
@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); }