public class RexWindowBoundJsonSerializer
extends org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.calcite.rex.RexWindowBound>
RexWindowBound
. refer to RexWindowBoundJsonDeserializer
for
deserializer.
Supports serialize CURRENT_ROW, UNBOUNDED_PRECEDING, UNBOUNDED_FOLLOWING, Preceding Bounded Window and Following Bounded Window.
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_IS_FOLLOWING |
static String |
FIELD_NAME_IS_PRECEDING |
static String |
FIELD_NAME_KIND |
static String |
FIELD_NAME_OFFSET |
static String |
KIND_BOUNDED_WINDOW |
static String |
KIND_CURRENT_ROW |
static String |
KIND_UNBOUNDED_FOLLOWING |
static String |
KIND_UNBOUNDED_PRECEDING |
Constructor and Description |
---|
RexWindowBoundJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(org.apache.calcite.rex.RexWindowBound rexWindowBound,
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator gen,
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
public static final String FIELD_NAME_KIND
public static final String KIND_CURRENT_ROW
public static final String KIND_UNBOUNDED_PRECEDING
public static final String KIND_UNBOUNDED_FOLLOWING
public static final String KIND_BOUNDED_WINDOW
public static final String FIELD_NAME_IS_PRECEDING
public static final String FIELD_NAME_IS_FOLLOWING
public static final String FIELD_NAME_OFFSET
public void serialize(org.apache.calcite.rex.RexWindowBound rexWindowBound, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator gen, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
serialize
in class org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.calcite.rex.RexWindowBound>
IOException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.