public class TableSourceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_SPROC
Shows the database object type is: Stored procedure
|
static int |
TYPE_SYSTEM_TABLE
Shows the database object type is: System Table
|
static int |
TYPE_TABLE
Shows the database object type is: Table
|
static int |
TYPE_VIEW
Shows the database object type is: View
|
Constructor and Description |
---|
TableSourceInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int type,
int procType)
Deprecated.
|
TableSourceInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int type)
Create a new instance for a stored procedure.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalog()
Get the catalog name or null.
|
java.lang.String |
getName()
Get the complete name of this object.
|
int |
getProcedureType()
Deprecated.
As of i-net Clear Reports 16.2
|
java.lang.String |
getSchema()
Get the schema name or null.
|
java.lang.String |
getTable()
Get the object name.
|
int |
getType()
Get a type of the object (whether the table source is a database table, a stored procedure, etc.)
|
public static final int TYPE_TABLE
public static final int TYPE_SYSTEM_TABLE
public static final int TYPE_VIEW
public static final int TYPE_SPROC
@Deprecated public TableSourceInfo(@Nullable java.lang.String catalog, @Nullable java.lang.String schema, @Nonnull java.lang.String table, int type, int procType)
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 classprocType
- ignoredpublic TableSourceInfo(@Nullable java.lang.String catalog, @Nullable java.lang.String schema, @Nonnull java.lang.String table, int type)
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 classjava.lang.IllegalArgumentException
- if table is nullpublic java.lang.String getName()
@Nullable public java.lang.String getCatalog()
@Nullable public java.lang.String getSchema()
public java.lang.String getTable()
public int getType()
TYPE_TABLE
,
TYPE_SYSTEM_TABLE
,
TYPE_VIEW
,
TYPE_SPROC
@Deprecated public int getProcedureType()
DatabaseMetaData
Copyright © 1999-2020 by i-net software GmbH