public class EsIndexColumns extends Object
Constructor and Description |
---|
EsIndexColumns(EsIndexColumn... cols)
Creates new set.
|
EsIndexColumns(ExecutionContext context,
IndexDefinition defn)
Creates new set of columns using index definition.
|
Modifier and Type | Method and Description |
---|---|
EsIndexColumn |
column(String name)
Gets column with given name.
|
Collection<EsIndexColumn> |
columns()
List of real columns.
|
EsRequest |
mappings(String type)
Provides Elasticsearch mapping definition for the given type and
this columns.
|
public EsIndexColumns(EsIndexColumn... cols)
cols
- set of columns.public EsIndexColumns(ExecutionContext context, IndexDefinition defn)
context
- execution contextdefn
- index definition.public EsIndexColumn column(String name)
name
- the name of column in index or name of pseudo column like
lower case, upper case or length.public Collection<EsIndexColumn> columns()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.