T - Type being marshalled.public final class SimpleTypeQueryMarshaller<T> extends Object implements QueryMarshaller<T>
QueryMarshaller that converts a given value to a string using
StringToValueConverter.StringToValue and emits it as a query param.| Modifier and Type | Field and Description |
|---|---|
static QueryMarshaller<Boolean> |
BOOLEAN |
static QueryMarshaller<Double> |
DOUBLE |
static QueryMarshaller<Float> |
FLOAT |
static QueryMarshaller<Instant> |
INSTANT |
static QueryMarshaller<Integer> |
INTEGER |
static QueryMarshaller<Long> |
LONG |
static QueryMarshaller<Void> |
NULL |
static QueryMarshaller<SdkBytes> |
SDK_BYTES |
static QueryMarshaller<Short> |
SHORT |
static QueryMarshaller<String> |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static Map<MarshallLocation,TimestampFormatTrait.Format> |
defaultTimestampFormats() |
void |
marshall(QueryMarshallerContext context,
String path,
T val,
SdkField<T> sdkField) |
public static final QueryMarshaller<String> STRING
public static final QueryMarshaller<Integer> INTEGER
public static final QueryMarshaller<Float> FLOAT
public static final QueryMarshaller<Boolean> BOOLEAN
public static final QueryMarshaller<Double> DOUBLE
public static final QueryMarshaller<Long> LONG
public static final QueryMarshaller<Short> SHORT
public static final QueryMarshaller<Instant> INSTANT
public static final QueryMarshaller<SdkBytes> SDK_BYTES
public static final QueryMarshaller<Void> NULL
public void marshall(QueryMarshallerContext context, String path, T val, SdkField<T> sdkField)
marshall in interface QueryMarshaller<T>public static Map<MarshallLocation,TimestampFormatTrait.Format> defaultTimestampFormats()
Copyright © 2022. All rights reserved.