Package io.ebeaninternal.server.deploy
Interface BeanDescriptorMap
-
- All Known Implementing Classes:
BeanDescriptorManager
public interface BeanDescriptorMap
Provides a method to find a BeanDescriptor.Used during deployment of to resolve relationships between beans.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> DocStoreBeanAdapter<T>
createDocStoreBeanAdapter(BeanDescriptor<T> descriptor, DeployBeanDescriptor<T> deploy)
Create a doc store specific adapter for this bean type.IdBinder
createIdBinder(BeanProperty id)
Create a IdBinder for this bean property.<T> BeanDescriptor<T>
getBeanDescriptor(Class<T> entityType)
Return the BeanDescriptor for a given class.SpiCacheManager
getCacheManager()
Return the Cache Manager.EncryptKey
getEncryptKey(String tableName, String columnName)
Return the Encrypt key given the table and column name.NamingConvention
getNamingConvention()
Return the naming convention.ScalarType<?>
getScalarType(int jdbcType)
Return the scalarType for the given JDBC type.ScalarType<?>
getScalarType(String cast)
Return the scalarType for the given logical type.ServerConfig
getServerConfig()
Return the ServerConfig.String
getServerName()
Return the name of the server/database.boolean
isMultiValueSupported()
Return true if multiple values can be bound as Array or Table Value and hence share the same query plan.
-
-
-
Method Detail
-
getServerName
String getServerName()
Return the name of the server/database.
-
getServerConfig
ServerConfig getServerConfig()
Return the ServerConfig.
-
getCacheManager
SpiCacheManager getCacheManager()
Return the Cache Manager.
-
getNamingConvention
NamingConvention getNamingConvention()
Return the naming convention.
-
isMultiValueSupported
boolean isMultiValueSupported()
Return true if multiple values can be bound as Array or Table Value and hence share the same query plan.
-
getBeanDescriptor
<T> BeanDescriptor<T> getBeanDescriptor(Class<T> entityType)
Return the BeanDescriptor for a given class.
-
getEncryptKey
EncryptKey getEncryptKey(String tableName, String columnName)
Return the Encrypt key given the table and column name.
-
createIdBinder
IdBinder createIdBinder(BeanProperty id)
Create a IdBinder for this bean property.
-
createDocStoreBeanAdapter
<T> DocStoreBeanAdapter<T> createDocStoreBeanAdapter(BeanDescriptor<T> descriptor, DeployBeanDescriptor<T> deploy)
Create a doc store specific adapter for this bean type.
-
getScalarType
ScalarType<?> getScalarType(int jdbcType)
Return the scalarType for the given JDBC type.
-
getScalarType
ScalarType<?> getScalarType(String cast)
Return the scalarType for the given logical type.
-
-