Package com.inet.report.database
Class TableSourceInfo
java.lang.Object
com.inet.report.database.TableSourceInfo
This class holds information which can be used to create a TableSource.
- Since:
- 13.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Shows the database object type is: Stored procedurestatic final int
Shows the database object type is: System Tablestatic final int
Shows the database object type is: Tablestatic final int
Shows the database object type is: View -
Constructor Summary
ConstructorDescriptionTableSourceInfo
(@Nullable String catalog, @Nullable String schema, @Nonnull String table, int type) Create a new instance for a stored procedure. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Get the catalog name or null.getName()
Get the complete name of this object.int
Deprecated.As of i-net Clear Reports 16.2@Nullable String
Get the schema name or null.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.)
-
Field Details
-
TYPE_TABLE
public static final int TYPE_TABLEShows the database object type is: Table- See Also:
-
TYPE_SYSTEM_TABLE
public static final int TYPE_SYSTEM_TABLEShows the database object type is: System Table- See Also:
-
TYPE_VIEW
public static final int TYPE_VIEWShows the database object type is: View- See Also:
-
TYPE_SPROC
public static final int TYPE_SPROCShows the database object type is: Stored procedure- See Also:
-
-
Constructor Details
-
TableSourceInfo
public TableSourceInfo(@Nullable @Nullable String catalog, @Nullable @Nullable String schema, @Nonnull @Nonnull String table, int type) Create a new instance for a stored procedure.- Parameters:
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- Throws:
IllegalArgumentException
- if table is null- Since:
- 13.0
-
-
Method Details
-
getName
Get the complete name of this object.- Returns:
- the name
- Since:
- 13.0
-
getCatalog
Get the catalog name or null.- Returns:
- the catalog
- Since:
- 13.0
-
getSchema
Get the schema name or null.- Returns:
- the schema
- Since:
- 13.0
-
getTable
Get the object name. This is the short name.- Returns:
- the name
- Since:
- 13.0
-
getType
public int getType()Get a type of the object (whether the table source is a database table, a stored procedure, etc.)- Returns:
- the type
- Since:
- 13.0
- See Also:
-
getProcedureType
Deprecated.As of i-net Clear Reports 16.2Get a procedure type of the object. Returns ever DatabaseMetaData.procedureResultUnknown.- Returns:
- the procedure type
- Since:
- 13.0
- See Also:
-