public class ObjType extends SchemaItem
Database
object type.NAME_PATTERN
Modifier and Type | Method and Description |
---|---|
CompositeIndex |
getCompositeIndex(int storageId)
Get the
CompositeIndex associated with this instance with the given storage ID. |
SortedMap<Integer,CompositeIndex> |
getCompositeIndexes()
Get all composite indexes associated with this object type keyed by storage ID.
|
SortedMap<String,CompositeIndex> |
getCompositeIndexesByName()
Get all composite indexes associated with this object type keyed by name.
|
Field<?> |
getField(int storageId)
Get the
Field in this instance with the given storage ID. |
Field<?> |
getField(int storageId,
boolean searchSubFields)
Get the
Field in this instance with the given storage ID, optionally searching sub-fields. |
SortedMap<Integer,Field<?>> |
getFields()
Get all fields associated with this object type keyed by storage ID.
|
SortedMap<String,Field<?>> |
getFieldsByName()
Get all fields associated with this object type keyed by name.
|
String |
toString() |
getName, getSchema, getStorageId
public SortedMap<Integer,Field<?>> getFields()
public Field<?> getField(int storageId)
Field
in this instance with the given storage ID.
This version does not find sub-fields of ComplexField
s; use getField(int, boolean)
for that.
storageId
- storage IDField
with storage ID storageID
UnknownFieldException
- if no top-level Field
with storage ID storageId
existsgetField(int, boolean)
public Field<?> getField(int storageId, boolean searchSubFields)
Field
in this instance with the given storage ID, optionally searching sub-fields.storageId
- storage IDsearchSubFields
- whether to search in sub-fields as wellField
with storage ID storageID
UnknownFieldException
- if no Field
with storage ID storageId
existspublic SortedMap<String,Field<?>> getFieldsByName()
public SortedMap<Integer,CompositeIndex> getCompositeIndexes()
public CompositeIndex getCompositeIndex(int storageId)
CompositeIndex
associated with this instance with the given storage ID.storageId
- storage IDCompositeIndex
with storage ID storageID
UnknownIndexException
- if no CompositeIndex
with storage ID storageId
existspublic SortedMap<String,CompositeIndex> getCompositeIndexesByName()
public String toString()
toString
in class SchemaItem
Copyright © 2022. All rights reserved.