case class QueryTabularType(columns: Vector[QueryColumn]) extends Product with Serializable
Resulting type of a query. Similar to ai.mantik.ds.TabularData but with support for alias and duplicates
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- QueryTabularType
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new QueryTabularType(columns: Vector[QueryColumn])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(queryTabularType: QueryTabularType): QueryTabularType
Append new columns
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val columns: Vector[QueryColumn]
- def dropByIds(ids: Int*): QueryTabularType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
forceToTabularType: TabularData
Force conversion to tabular type, columns may be renamed.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lookupColumn(name: String, caseSensitive: Boolean = false, fromLeft: Boolean = true): Either[String, (Int, QueryColumn)]
Lookup a column.
Lookup a column.
- name
name may use column alias with dot.
- returns
index and column instance.
-
def
makeNullable: QueryTabularType
Make all columns nullable, if they aren't yet
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
shadow(fromLeft: Boolean = true, ignoreAlias: Boolean = false): QueryTabularType
Shadow name/alias duplicates
Shadow name/alias duplicates
- Annotations
- @throws( ... )
-
def
size: Int
Returns the number of columns.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toTabularType: Either[String, TabularData]
Convert to a tabular data.
Convert to a tabular data. This can fail on column duplicates
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAlias(alias: String): QueryTabularType
Returns a copy with a new alias set.