The TypeCommand class is abstract class for all commands witch working with types on ElasticSearch.
Command ← IndexCommand ← TypeCommand
- constructor(index, type, params) - Initializes instance of this command.
- getType() - Returns name of type.
- setType(type) - Sets name of type.
Methods inherited from IndexCommand
- getIndex() - Returns name of index.
- setIndex(index) - Sets name of index.
Methods inherited from Command
- getParameter(name) - Returns value of the specified parameter.
- setParameter(name, value) - Sets value of the specified parameter.
getType(): string|null
setType(type: string)