|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.d2rq.algebra.Attribute
public class Attribute
A database column.
Constructor Summary | |
---|---|
Attribute(RelationName relationName,
String attributeName)
|
|
Attribute(String schemaName,
String tableName,
String attributeName)
Constructs a new attribute from a schema name, table name and attribute name. |
Method Summary | |
---|---|
String |
attributeName()
Extracts the database column name from a tablename.columnname combination. |
int |
compareTo(Object otherObject)
Compares columns alphanumerically by qualified name, case sensitive. |
boolean |
equals(Object other)
Compares this instance to another object. |
int |
hashCode()
Returns a hash code for this intance. |
String |
qualifiedName()
Returns the column name in Table.Column form |
RelationName |
relationName()
Returns the table name, including the schema if the table is in a schema. |
String |
schemaName()
Extracts the database schema name from a schema.table.colum combination. |
String |
tableName()
Returns the database table name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute(String schemaName, String tableName, String attributeName)
schemaName
- The schema name, or null if not in a schematableName
- The table nameattributeName
- The column namepublic Attribute(RelationName relationName, String attributeName)
Method Detail |
---|
public String qualifiedName()
public String attributeName()
public String tableName()
public RelationName relationName()
public String schemaName()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object otherObject)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |