Endpoint List aliases
Name
list_aliases
Description
Parameters
| Parameter | Required | Options | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Name |
DT_WSTR
|
nvarchar(500)
|
500 | |
| Index |
DT_WSTR
|
nvarchar(500)
|
500 | |
| Type |
DT_WSTR
|
nvarchar(10)
|
10 |
If the column you are looking for is missing, consider customizing ElasticSearch Connector.
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use ElasticSearch Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - ElasticSearch
Read / write ElasticSearch data inside your app; perform many ElasticSearch operations without coding, just use easy to use high performance API Connector for ElasticSearch
ElasticSearch
List aliases
| Optional Parameters | |
|---|---|
| EnableCustomReplace | True |
| SearchFor | "(\w+(?<!aliases))"\s*:\s*\{\s*\}--regex |
| ReplaceWith | "$1": {fake:1} |
| EnablePivot | True |
| IncludePivotPath | True |
| EnablePivotPathSearchReplace | True |
| PivotPathSearchFor | (.*?).aliases.(.*)--regex |
| PivotPathReplaceWith | $1 |
API Destination
API Destination - ElasticSearch
Read / write ElasticSearch data inside your app; perform many ElasticSearch operations without coding, just use easy to use high performance API Connector for ElasticSearch
ElasticSearch
List aliases
| Optional Parameters | |
|---|---|
| EnableCustomReplace | True |
| SearchFor | "(\w+(?<!aliases))"\s*:\s*\{\s*\}--regex |
| ReplaceWith | "$1": {fake:1} |
| EnablePivot | True |
| IncludePivotPath | True |
| EnablePivotPathSearchReplace | True |
| PivotPathSearchFor | (.*?).aliases.(.*)--regex |
| PivotPathReplaceWith | $1 |
ODBC application
Use these SQL queries in your ODBC application data source:
List aliases
SELECT * FROM list_aliases
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List aliases
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM list_aliases';
EXEC (@MyQuery) AT [LS_TO_ELASTICSEARCH_IN_GATEWAY];