public static class CreateIndexParams.IndexField
extends java.lang.Object
Collection.createIndex(String, DbDoc)
description.Constructor and Description |
---|
IndexField(DbDoc indexField)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField()
Get the full document path to the document member or field to be indexed.
|
java.lang.Integer |
getOptions()
Get options for decoding GEOJSON data.
|
java.lang.Integer |
getSrid()
Get srid for decoding GEOJSON data.
|
java.lang.String |
getType()
Get column type.
|
java.lang.Boolean |
isArray()
Is the field an array?
|
java.lang.Boolean |
isRequired()
Is the field required to exist in the document?
|
public IndexField(DbDoc indexField)
indexField
- a special JSON document, part of indexDefinition document, consisting of the following fields:
public java.lang.String getField()
public java.lang.String getType()
public java.lang.Boolean isRequired()
public java.lang.Integer getOptions()
public java.lang.Integer getSrid()
public java.lang.Boolean isArray()