-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove concrete subclasses of
ColumnType
- Loading branch information
1 parent
8f5e376
commit c36dd79
Showing
3 changed files
with
27 additions
and
187 deletions.
There are no files selected for viewing
184 changes: 0 additions & 184 deletions
184
...-lang/src/resources/builtins/safeds/data/tabular/typing/_column_type/_column_type.sdsstub
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
packages/safe-ds-lang/src/resources/builtins/safeds/data/tabular/typing/column_type.sdsstub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package safeds.data.tabular.typing | ||
|
||
/** | ||
* Abstract base class for column types. | ||
* | ||
* @param isNullable Whether the columntype is nullable. | ||
*/ | ||
class ColumnType { | ||
/** | ||
* Return whether the given column type is nullable. | ||
* | ||
* @result result1 True if the column is nullable. | ||
*/ | ||
@Pure | ||
@PythonName("is_nullable") | ||
fun isNullable() -> result1: Boolean | ||
|
||
/** | ||
* Return whether the given column type is numeric. | ||
* | ||
* @result result1 True if the column is numeric. | ||
*/ | ||
@Pure | ||
@PythonName("is_numeric") | ||
fun isNumeric() -> result1: Boolean | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters