Klasse TableSourceInfo
java.lang.Object
com.inet.report.database.TableSourceInfo
This class holds information which can be used to create a TableSource.
- Seit:
- 13.0
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intShows the database object type is: Stored procedurestatic final intShows the database object type is: System Tablestatic final intShows the database object type is: Tablestatic final intShows the database object type is: View -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTableSourceInfo(@Nullable String catalog, @Nullable String schema, @Nonnull String table, int type) Create a new instance for a stored procedure. -
Methodenübersicht
Modifikator und TypMethodeBeschreibung@Nullable StringGet the catalog name or null.getName()Get the complete name of this object.@Nullable StringGet the schema name or null.getTable()Get the object name.intgetType()Get a type of the object (whether the table source is a database table, a stored procedure, etc.)
-
Felddetails
-
TYPE_TABLE
public static final int TYPE_TABLEShows the database object type is: Table- Siehe auch:
-
TYPE_SYSTEM_TABLE
public static final int TYPE_SYSTEM_TABLEShows the database object type is: System Table- Siehe auch:
-
TYPE_VIEW
public static final int TYPE_VIEWShows the database object type is: View- Siehe auch:
-
TYPE_SPROC
public static final int TYPE_SPROCShows the database object type is: Stored procedure- Siehe auch:
-
-
Konstruktordetails
-
TableSourceInfo
public TableSourceInfo(@Nullable String catalog, @Nullable String schema, @Nonnull String table, int type) Create a new instance for a stored procedure.- Parameter:
catalog- a catalog name if this is a database object. Can be null.schema- a schema/owner name if this is a database object. Can be null.table- the object nametype- the type of this object, one of the constant from this class- Löst aus:
IllegalArgumentException- if table is null- Seit:
- 13.0
-
-
Methodendetails
-
getName
-
getCatalog
Get the catalog name or null.- Gibt zurück:
- the catalog
- Seit:
- 13.0
-
getSchema
-
getTable
Get the object name. This is the short name.- Gibt zurück:
- the name
- Seit:
- 13.0
-
getType
public int getType()Get a type of the object (whether the table source is a database table, a stored procedure, etc.)- Gibt zurück:
- the type
- Seit:
- 13.0
- Siehe auch:
-