org.hibernate.metamodel.relational
Class Schema
java.lang.Object
org.hibernate.metamodel.relational.Schema
public class Schema
- extends Object
Represents a named schema/catalog pair and manages objects defined within.
Schema
public Schema(Schema.Name name)
Schema
public Schema(Identifier schema,
Identifier catalog)
getName
public Schema.Name getName()
locateTable
public Table locateTable(Identifier name)
createTable
public Table createTable(Identifier name)
locateOrCreateTable
public Table locateOrCreateTable(Identifier name)
getTables
public Iterable<Table> getTables()
getInLineView
public InLineView getInLineView(String logicalName)
createInLineView
public InLineView createInLineView(String logicalName,
String subSelect)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.