Documentation
¶
Index ¶
- type ElasticsearchDB
- func (elastic ElasticsearchDB) CreateStoredSchemasTable(ctx context.Context) error
- func (elastic ElasticsearchDB) CreateTable(ctx context.Context, schema db.TableSchema) error
- func (elastic ElasticsearchDB) DeleteTableSchema(ctx context.Context, table string) error
- func (elastic ElasticsearchDB) DropTable(ctx context.Context, table string) (alreadyDropped bool, err error)
- func (elastic ElasticsearchDB) GetTableSchema(ctx context.Context, table string) (db.TableSchema, error)
- func (elastic ElasticsearchDB) IngestData(ctx context.Context, data db.DataSource, schema db.TableSchema) error
- func (elastic ElasticsearchDB) RunAnalysisQuery(ctx context.Context, analysis db.AnalysisQuery, table string) (db.AnalysisResult, error)
- func (elastic ElasticsearchDB) StoreTableSchema(ctx context.Context, schema db.TableSchema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticsearchDB ¶
type ElasticsearchDB struct {
// contains filtered or unexported fields
}
Implements db.AnalysisDB for Elasticsearch.
func NewElasticsearchDB ¶
func NewElasticsearchDB(config config.Config) (ElasticsearchDB, error)
func (ElasticsearchDB) CreateStoredSchemasTable ¶
func (elastic ElasticsearchDB) CreateStoredSchemasTable(ctx context.Context) error
func (ElasticsearchDB) CreateTable ¶
func (elastic ElasticsearchDB) CreateTable(ctx context.Context, schema db.TableSchema) error
func (ElasticsearchDB) DeleteTableSchema ¶
func (elastic ElasticsearchDB) DeleteTableSchema(ctx context.Context, table string) error
func (ElasticsearchDB) GetTableSchema ¶
func (elastic ElasticsearchDB) GetTableSchema( ctx context.Context, table string, ) (db.TableSchema, error)
func (ElasticsearchDB) IngestData ¶
func (elastic ElasticsearchDB) IngestData( ctx context.Context, data db.DataSource, schema db.TableSchema, ) error
func (ElasticsearchDB) RunAnalysisQuery ¶
func (elastic ElasticsearchDB) RunAnalysisQuery( ctx context.Context, analysis db.AnalysisQuery, table string, ) (db.AnalysisResult, error)
func (ElasticsearchDB) StoreTableSchema ¶
func (elastic ElasticsearchDB) StoreTableSchema( ctx context.Context, schema db.TableSchema, ) error
Click to show internal directories.
Click to hide internal directories.