Java Code Examples for org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator#writeString()

The following examples show how to use org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator#writeString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TriggerId.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@Override
public void serialize(
		final TriggerId value,
		final JsonGenerator gen,
		final SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 2
Source File: TriggerId.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public void serialize(
		final TriggerId value,
		final JsonGenerator gen,
		final SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 3
Source File: TriggerId.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public void serialize(
		final TriggerId value,
		final JsonGenerator gen,
		final SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 4
Source File: CheckpointConfigInfo.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ProcessingMode mode, JsonGenerator generator, SerializerProvider serializerProvider)
	throws IOException {
	generator.writeString(mode.name().toLowerCase());
}
 
Example 5
Source File: ResourceIDSerializer.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ResourceID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.getResourceIdString());
}
 
Example 6
Source File: JobIDSerializer.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 7
Source File: JobVertexIDSerializer.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobVertexID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 8
Source File: CheckpointConfigInfo.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ProcessingMode mode, JsonGenerator generator, SerializerProvider serializerProvider)
	throws IOException {
	generator.writeString(mode.name().toLowerCase());
}
 
Example 9
Source File: ResourceIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ResourceID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.getResourceIdString());
}
 
Example 10
Source File: JobIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 11
Source File: JobVertexIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobVertexID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 12
Source File: CheckpointConfigInfo.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ProcessingMode mode, JsonGenerator generator, SerializerProvider serializerProvider)
	throws IOException {
	generator.writeString(mode.name().toLowerCase());
}
 
Example 13
Source File: ResourceIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(ResourceID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.getResourceIdString());
}
 
Example 14
Source File: JobIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}
 
Example 15
Source File: JobVertexIDSerializer.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public void serialize(JobVertexID value, JsonGenerator gen, SerializerProvider provider) throws IOException {
	gen.writeString(value.toString());
}