SqlCreateTable class

Implemented types

Constructors

SqlCreateTable({required bool orReplace, required bool temporary, required bool external_, bool? global, required bool ifNotExists, required bool transient, required ObjectName name, required List<ColumnDef> columns, required List<TableConstraint> constraints, required List<SqlOption> tableProperties, required List<SqlOption> withOptions, FileFormat? fileFormat, String? location, SqlQuery? query, required bool withoutRowid, ObjectName? like, ObjectName? clone, String? engine, String? defaultCharset, String? collation, OnCommit? onCommit, String? onCluster, List<Ident>? orderBy, required bool strict})
const
SqlCreateTable.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

clone ObjectName?
final
collation String?
final
columns List<ColumnDef>
final
constraints List<TableConstraint>
final
defaultCharset String?
final
engine String?
final
external_ bool
final
fileFormat FileFormat?
final
global bool?
final
hashCode int
The hash code for this object.
no setteroverride
ifNotExists bool
final
like ObjectName?
final
location String?
final
name ObjectName
final
onCluster String?
final
onCommit OnCommit?
final
orderBy List<Ident>?
final
orReplace bool
final
query SqlQuery?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strict bool
final
tableProperties List<SqlOption>
final
temporary bool
final
transient bool
final
withOptions List<SqlOption>
final
withoutRowid bool
final

Methods

copyWith({bool? orReplace, bool? temporary, bool? external_, Option<bool>? global, bool? ifNotExists, bool? transient, ObjectName? name, List<ColumnDef>? columns, List<TableConstraint>? constraints, List<SqlOption>? tableProperties, List<SqlOption>? withOptions, Option<FileFormat>? fileFormat, Option<String>? location, Option<SqlQuery>? query, bool? withoutRowid, Option<ObjectName>? like, Option<ObjectName>? clone, Option<String>? engine, Option<String>? defaultCharset, Option<String>? collation, Option<OnCommit>? onCommit, Option<String>? onCluster, Option<List<Ident>>? orderBy, bool? strict}) SqlCreateTable
Returns a new instance by overriding the values passed as arguments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns a JSON representation of this.
override
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.
override

Operators

operator ==(Object other) bool
The equality operator.
override