类 Map
- java.lang.Object
-
- org.hibernate.mapping.Collection
-
- org.hibernate.mapping.IndexedCollection
-
- org.hibernate.mapping.Map
-
- 所有已实现的接口:
Serializable,Fetchable,Filterable,Value
public class Map extends IndexedCollection
A map has a primary key consisting of the key columns + index columns.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.mapping.IndexedCollection
DEFAULT_INDEX_COLUMN_NAME
-
从类继承的字段 org.hibernate.mapping.Collection
DEFAULT_ELEMENT_COLUMN_NAME, DEFAULT_KEY_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 Map(MetadataBuildingContext buildingContext, PersistentClass owner)Map(MetadataImplementor metadata, PersistentClass owner)已过时。UseMap(MetadataBuildingContext, PersistentClass)instead.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectaccept(ValueVisitor visitor)voidcreateAllKeys()CollectionTypegetDefaultCollectionType()booleanisMap()-
从类继承的方法 org.hibernate.mapping.IndexedCollection
getIndex, isIndexed, isList, isSame, isSame, setIndex, validate
-
从类继承的方法 org.hibernate.mapping.Collection
addFilter, addManyToManyFilter, createForeignKey, getBatchSize, getCacheConcurrencyStrategy, getCacheRegionName, getCollectionPersisterClass, getCollectionTable, getCollectionType, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getComparator, getComparatorClassName, getCustomSQLDelete, getCustomSQLDeleteAll, getCustomSQLDeleteAllCheckStyle, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getElement, getFetchMode, getFilters, getKey, getLoaderName, getManyToManyFilters, getManyToManyOrdering, getManyToManyWhere, getMappedByProperty, getMetadata, getOrderBy, getOwner, getOwnerEntityName, getReferencedPropertyName, getRole, getServiceRegistry, getSynchronizedTables, getTable, getType, getTypeName, getTypeParameters, getWhere, hasFormula, hasOrder, hasOrphanDelete, isAlternateUniqueKey, isArray, isCustomDeleteAllCallable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isExtraLazy, isIdentified, isInverse, isLazy, isMutable, isNullable, isOneToMany, isOptimisticLocked, isPrimitiveArray, isSame, isSame, isSet, isSimpleValue, isSorted, isSubselectLoadable, isValid, setBatchSize, setCacheConcurrencyStrategy, setCacheRegionName, setCollectionPersisterClass, setCollectionTable, setComparator, setComparatorClassName, setCustomSQLDelete, setCustomSQLDeleteAll, setCustomSQLInsert, setCustomSQLUpdate, setElement, setExtraLazy, setFetchMode, setInverse, setKey, setLazy, setLoaderName, setManyToManyOrdering, setManyToManyWhere, setMappedByProperty, setMutable, setOptimisticLocked, setOrderBy, setOrphanDelete, setOwner, setReferencedPropertyName, setRole, setSorted, setSubselectLoadable, setTypeName, setTypeParameters, setTypeParameters, setTypeUsingReflection, setWhere, toString
-
-
-
-
构造器详细资料
-
Map
@Deprecated public Map(MetadataImplementor metadata, PersistentClass owner)
已过时。UseMap(MetadataBuildingContext, PersistentClass)instead.
-
Map
public Map(MetadataBuildingContext buildingContext, PersistentClass owner)
-
-
方法详细资料
-
isMap
public boolean isMap()
- 覆盖:
isMap在类中Collection
-
getDefaultCollectionType
public CollectionType getDefaultCollectionType()
- 指定者:
getDefaultCollectionType在类中Collection
-
createAllKeys
public void createAllKeys() throws MappingException- 覆盖:
createAllKeys在类中Collection- 抛出:
MappingException
-
accept
public Object accept(ValueVisitor visitor)
-
-