BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Elasticsearch\Client Class Reference

Public Member Functions

 __construct (Transport $transport, callable $endpoint, array $registeredNamespaces)
 
 indices ()
 
 cluster ()
 
 nodes ()
 
 snapshot ()
 
 cat ()
 
 ingest ()
 
 tasks ()
 
 remote ()
 
 __call ($name, $arguments)
 
 extractArgument (&$params, $arg)
 

Public Attributes

 $transport
 

Protected Attributes

 $params
 
 $indices
 
 $cluster
 
 $nodes
 
 $snapshot
 
 $cat
 
 $ingest
 
 $tasks
 
 $remote
 
 $endpoints
 
 $registeredNamespaces = []
 

Constructor & Destructor Documentation

Elasticsearch\Client::__construct ( Transport  $transport,
callable  $endpoint,
array  $registeredNamespaces 
)

Client constructor

Parameters
Transport$transport
callable$endpoint
AbstractNamespace[]$registeredNamespaces

Member Function Documentation

Elasticsearch\Client::__call (   $name,
  $arguments 
)

Catchall for registered namespaces

Parameters
$name
$arguments
Returns
Object
Exceptions
BadMethodCallExceptionif the namespace cannot be found
Elasticsearch\Client::cat ( )

Operate on the Cat namespace of commands

Returns
CatNamespace
Elasticsearch\Client::cluster ( )

Operate on the Cluster namespace of commands

Returns
ClusterNamespace
Elasticsearch\Client::extractArgument ( $params,
  $arg 
)
Parameters
array$params
string$arg
Returns
null|mixed
Elasticsearch\Client::indices ( )

Operate on the Indices Namespace of commands

Returns
IndicesNamespace
Elasticsearch\Client::ingest ( )

Operate on the Ingest namespace of commands

Returns
IngestNamespace
Elasticsearch\Client::nodes ( )

Operate on the Nodes namespace of commands

Returns
NodesNamespace
Elasticsearch\Client::remote ( )

Operate on the Remote namespace of commands

Returns
RemoteNamespace
Elasticsearch\Client::snapshot ( )

Operate on the Snapshot namespace of commands

Returns
SnapshotNamespace
Elasticsearch\Client::tasks ( )

Operate on the Tasks namespace of commands

Returns
TasksNamespace

The documentation for this class was generated from the following file: