public class CollectionSchema extends Object
Represents a class that describes the "Schema" of a document collection.
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Collections.Generic.IGenericCollection<CollectionField> |
getAllFields()
Gets all schema's fields.
|
com.aspose.ms.System.Collections.Generic.IGenericCollection<String> |
getAllNames()
Gets all schema's fields names.
|
CollectionField |
getCollectionField(String name)
Gets a collection field by name.
|
boolean |
hasName(String name)
Determines whether the specified name exists in the schema.
|
public final com.aspose.ms.System.Collections.Generic.IGenericCollection<CollectionField> getAllFields()
Gets all schema's fields.
public final com.aspose.ms.System.Collections.Generic.IGenericCollection<String> getAllNames()
Gets all schema's fields names.
public final boolean hasName(String name)
Determines whether the specified name exists in the schema.
name
- The name to check.true
if the specified name exists in the schema; otherwise, false
.public final CollectionField getCollectionField(String name)
Gets a collection field by name.
name
- The field nameCopyright © 2025 Aspose. All Rights Reserved.