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
FieldsModifier and TypeFieldDescriptionstatic 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 -
Constructor Summary
ConstructorsConstructorDescriptionTableSourceInfo(@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 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.)
-
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 String catalog, @Nullable String schema, @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
-
getCatalog
-
getSchema
-
getTable
-
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:
-