All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudgraph.store.mapping.DynamicTableMapping Maven / Gradle / Ivy

Go to download

CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.

The newest version!
package org.cloudgraph.store.mapping;

public class DynamicTableMapping extends TableMapping {

  private StoreMappingContext context;

  public DynamicTableMapping(Table table, MappingConfiguration config, StoreMappingContext context) {
    super(table, config);
    this.context = context;
  }

  public DynamicTableMapping(Table table, StoreMappingContext context) {
    super(table);
    this.context = context;
  }

  @Override
  public String getQualifiedLogicalName() {
    if (this.qualifiedLogicalName == null) {
      this.qualifiedLogicalName = qualifiedLogicalNameFor(this.table, this.context);
    }

    return this.qualifiedLogicalName;
  }

  @Override
  public StoreMappingContext getMappingContext() {
    return this.context;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy