io.prestosql.jdbc.$internal.jackson.databind.ser.impl.ObjectIdWriter Maven / Gradle / Ivy
The newest version!
package io.prestosql.jdbc.$internal.jackson.databind.ser.impl;
import io.prestosql.jdbc.$internal.jackson.annotation.ObjectIdGenerator;
import io.prestosql.jdbc.$internal.jackson.core.SerializableString;
import io.prestosql.jdbc.$internal.jackson.core.io.SerializedString;
import io.prestosql.jdbc.$internal.jackson.databind.*;
/**
* Object that knows how to serialize Object Ids.
*/
public final class ObjectIdWriter
{
public final JavaType idType;
/**
* Name of id property to write, if not null: if null, should
* only write references, but id property is handled by some
* other entity.
*/
public final SerializableString propertyName;
/**
* Blueprint generator instance: actual instance will be
* fetched from {@link SerializerProvider} using this as
* the key.
*/
public final ObjectIdGenerator> generator;
/**
* Serializer used for serializing id values.
*/
public final JsonSerializer