package io.ebeaninternal.server.type;
import io.ebean.core.type.ScalarType;
import java.lang.reflect.Type;
Factory for platform specific handling/ScalarTypes for DB ARRAY.
/**
* Factory for platform specific handling/ScalarTypes for DB ARRAY.
*/
public interface PlatformArrayTypeFactory {
Return the ScalarType to handle DB ARRAY for the given element type.
/**
* Return the ScalarType to handle DB ARRAY for the given element type.
*/
ScalarType<?> typeFor(Type valueType, boolean nullable);
Return the ScalarType to handle DB ARRAY for the given enum element type.
/**
* Return the ScalarType to handle DB ARRAY for the given enum element type.
*/
ScalarType<?> typeForEnum(ScalarType<?> scalarType, boolean nullable);
}