
com.nextbreakpoint.flinkclient.api.FlinkApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Show all versions of com.nextbreakpoint.flinkclient.core Show documentation
Cope API for managing Apache Flink
The newest version!
/*
* This file is part of FlinkClient
* https://github.com/nextbreakpoint/flinkclient
*/
package com.nextbreakpoint.flinkclient.api;
import com.google.gson.Gson;
import com.nextbreakpoint.flinkclient.model.OneOfAsynchronousOperationResultOperation;
import com.nextbreakpoint.flinkclient.model.OneOfAsynchronousOperationResultOperationTypeAdapter;
public class FlinkApi extends DefaultApi {
public FlinkApi() {
final JSON json = getApiClient().getJSON();
final Gson gson = json.getGson()
.newBuilder()
.registerTypeAdapter(OneOfAsynchronousOperationResultOperation.class, new OneOfAsynchronousOperationResultOperationTypeAdapter())
.create();
json.setGson(gson);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy