flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggevay <...@git.apache.org>
Subject [GitHub] flink pull request #2211: [WIP][FLINK-3599] Code generation for PojoSerializ...
Date Thu, 08 Sep 2016 10:49:47 GMT
Github user ggevay commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2211#discussion_r77984130
  
    --- Diff: flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java ---
    @@ -455,6 +459,33 @@ public boolean isForceAvroEnabled() {
     		return forceAvro;
     	}
     
    +    /**
    +     * Force Flink to use the generated serializers for POJOs.
    +     */
    +	public void enableCodeGeneration() {
    +		forceCodeGeneration = true;
    +	}
    +
    +	public void disableCodeGeneration() {
    +		forceCodeGeneration = false;
    +	}
    +
    +	public boolean isCodeGenerationEnabled() {
    +		return forceCodeGeneration;
    +	}
    +
    +	public void enableWrapGeneratedClasses() {
    --- End diff --
    
    I'm not sure if this is still needed, but I might be missing something. Shouldn't this
always be enabled?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message