Package org.teiid.translator.mongodb
Class MergeDetails
- java.lang.Object
-
- org.teiid.translator.mongodb.MergeDetails
-
-
Constructor Summary
Constructors Constructor Description MergeDetails(org.teiid.translator.mongodb.MongoDocument document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeDetails
clone()
String
getAlias()
org.teiid.translator.mongodb.MergeDetails.Association
getAssociation()
List<String>
getColumns()
com.mongodb.DBRef
getDBRef(com.mongodb.DB db, boolean push)
org.teiid.translator.mongodb.MongoDocument
getDocument()
String
getEmbeddedTable()
Object
getId()
String
getIdReference()
String
getName()
String
getParentColumnName(String columnName)
String
getParentTable()
List<String>
getReferenceColumns()
Object
getValue()
boolean
isNested()
void
setAlias(String alias)
void
setAssociation(org.teiid.translator.mongodb.MergeDetails.Association association)
void
setColumns(List<String> columns)
void
setEmbeddedTable(String embeddedTable)
void
setId(String column, Object value)
void
setIdReference(String idReference)
void
setName(String name)
void
setNested(boolean nested)
void
setParentTable(String parentTable)
void
setReferenceColumns(List<String> columns)
String
toString()
-
-
-
Method Detail
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
getDocument
public org.teiid.translator.mongodb.MongoDocument getDocument()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDBRef
public com.mongodb.DBRef getDBRef(com.mongodb.DB db, boolean push)
-
getValue
public Object getValue()
-
getParentTable
public String getParentTable()
-
setParentTable
public void setParentTable(String parentTable)
-
getId
public Object getId() throws TranslatorException
- Throws:
TranslatorException
-
getEmbeddedTable
public String getEmbeddedTable()
-
setEmbeddedTable
public void setEmbeddedTable(String embeddedTable)
-
getAssociation
public org.teiid.translator.mongodb.MergeDetails.Association getAssociation()
-
setAssociation
public void setAssociation(org.teiid.translator.mongodb.MergeDetails.Association association)
-
getIdReference
public String getIdReference()
-
setIdReference
public void setIdReference(String idReference)
-
isNested
public boolean isNested()
-
setNested
public void setNested(boolean nested)
-
clone
public MergeDetails clone()
-
-