
org.cloudgraph.store.mapping.DynamicTableMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudgraph-store Show documentation
Show all versions of cloudgraph-store Show documentation
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;
}
}