Interface MongoMetastoreContext<T>

Type Parameters:
T - Metastore component unit metadata type
All Known Implementing Classes:
MongoTables

public interface MongoMetastoreContext<T>
Provides Mongo Metastore component tools to transform, read or write data from / into Mongo collections.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mongodb.client.MongoClient
    Returns Mongo client implementation
    com.mongodb.client.MongoCollection<org.bson.Document>
    Returns Mongo collection implementation used as storage for Metastore component data.
    Returns transformer which allows various data, filters, operations transformation.
  • Method Details

    • table

      com.mongodb.client.MongoCollection<org.bson.Document> table()
      Returns Mongo collection implementation used as storage for Metastore component data.
      Returns:
      Mongo collection instance
    • transformer

      Transformer<T> transformer()
      Returns transformer which allows various data, filters, operations transformation.
      Returns:
      transformer instance
    • client

      com.mongodb.client.MongoClient client()
      Returns Mongo client implementation
      Returns:
      Mongo client instance