|
@@ -391,9 +391,9 @@ data_sources:
|
|
- [SQLite](#sqlite)
|
|
- [SQLite](#sqlite)
|
|
- [Redshift](#redshift)
|
|
- [Redshift](#redshift)
|
|
- [Presto](#presto)
|
|
- [Presto](#presto)
|
|
-- [MongoDB](#mongodb-1) [beta]
|
|
|
|
|
|
+- [Apache Drill](#apache-drill)
|
|
|
|
+- [MongoDB](#mongodb-1)
|
|
- [Elasticsearch](#elasticsearch) [beta]
|
|
- [Elasticsearch](#elasticsearch) [beta]
|
|
-- [Apache Drill](#apache-drill) [beta]
|
|
|
|
|
|
|
|
You can also [create an adapter](#creating-an-adapter) for any other data store.
|
|
You can also [create an adapter](#creating-an-adapter) for any other data store.
|
|
|
|
|
|
@@ -473,36 +473,36 @@ data_sources:
|
|
url: presto://user@hostname:8080/catalog
|
|
url: presto://user@hostname:8080/catalog
|
|
```
|
|
```
|
|
|
|
|
|
-### MongoDB
|
|
|
|
|
|
+### Apache Drill
|
|
|
|
|
|
-Add [mongo](https://github.com/mongodb/mongo-ruby-driver) to your Gemfile and set:
|
|
|
|
|
|
+Add [drill-sergeant](https://github.com/ankane/drill-sergeant) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- url: mongodb://user:password@hostname:27017/database
|
|
|
|
|
|
+ adapter: drill
|
|
|
|
+ url: http://hostname:8047
|
|
```
|
|
```
|
|
|
|
|
|
-### Elasticsearch
|
|
|
|
|
|
+### MongoDB
|
|
|
|
|
|
-Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:
|
|
|
|
|
|
+Add [mongo](https://github.com/mongodb/mongo-ruby-driver) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- adapter: elasticsearch
|
|
|
|
- url: http://user:password@hostname:9200
|
|
|
|
|
|
+ url: mongodb://user:password@hostname:27017/database
|
|
```
|
|
```
|
|
|
|
|
|
-### Apache Drill
|
|
|
|
|
|
+### Elasticsearch
|
|
|
|
|
|
-Add [drill-sergeant](https://github.com/ankane/drill-sergeant) to your Gemfile and set:
|
|
|
|
|
|
+Add [elasticsearch](https://github.com/elastic/elasticsearch-ruby) to your Gemfile and set:
|
|
|
|
|
|
```yml
|
|
```yml
|
|
data_sources:
|
|
data_sources:
|
|
my_source:
|
|
my_source:
|
|
- adapter: drill
|
|
|
|
- url: http://hostname:8047
|
|
|
|
|
|
+ adapter: elasticsearch
|
|
|
|
+ url: http://user:password@hostname:9200
|
|
```
|
|
```
|
|
|
|
|
|
## Creating an Adapter
|
|
## Creating an Adapter
|