Documentation ¶
Index ¶
- Constants
- func SQLiteValue(v interface{}) (interface{}, error)
- type AbortBatchStmtNode
- type AddColumnActionNode
- type AddConstraintActionNode
- type AddToRestricteeListActionNode
- type AggregateFunctionCallNode
- type AggregateHavingModifierNode
- type AggregateScanNode
- type AlterAllRowAccessPoliciesStmtNode
- type AlterColumnDropDefaultActionNode
- type AlterColumnDropNotNullActionNode
- type AlterColumnOptionsActionNode
- type AlterColumnSetDataTypeActionNode
- type AlterColumnSetDefaultActionNode
- type AlterDatabaseStmtNode
- type AlterEntityStmtNode
- type AlterMaterializedViewStmtNode
- type AlterPrivilegeRestrictionStmtNode
- type AlterRowAccessPolicyStmtNode
- type AlterSchemaStmtNode
- type AlterTableSetOptionsStmtNode
- type AlterTableStmtNode
- type AlterViewStmtNode
- type AnalyticFunctionCallNode
- type AnalyticFunctionGroupNode
- type AnalyticScanNode
- type AnalyzeStmtNode
- type Analyzer
- type AnalyzerOutput
- type AnonymizedAggregateScanNode
- type ArgumentDefNode
- type ArgumentListNode
- type ArgumentRefNode
- type ArrayScanNode
- type ArrayValue
- func (av *ArrayValue) Add(v Value) (Value, error)
- func (av *ArrayValue) Div(v Value) (Value, error)
- func (av *ArrayValue) EQ(v Value) (bool, error)
- func (av *ArrayValue) GT(v Value) (bool, error)
- func (av *ArrayValue) GTE(v Value) (bool, error)
- func (av *ArrayValue) Has(v Value) (bool, error)
- func (av *ArrayValue) LT(v Value) (bool, error)
- func (av *ArrayValue) LTE(v Value) (bool, error)
- func (av *ArrayValue) Mul(v Value) (Value, error)
- func (av *ArrayValue) Sub(v Value) (Value, error)
- func (av *ArrayValue) ToArray() (*ArrayValue, error)
- func (av *ArrayValue) ToBool() (bool, error)
- func (av *ArrayValue) ToFloat64() (float64, error)
- func (av *ArrayValue) ToInt64() (int64, error)
- func (av *ArrayValue) ToString() (string, error)
- func (av *ArrayValue) ToStruct() (*StructValue, error)
- type AssertRowsModifiedNode
- type AssertStmtNode
- type AssignmentStmtNode
- type AuxLoadDataStmtNode
- type BeginStmtNode
- type BoolValue
- func (bv BoolValue) Add(v Value) (Value, error)
- func (bv BoolValue) Div(v Value) (Value, error)
- func (bv BoolValue) EQ(v Value) (bool, error)
- func (bv BoolValue) GT(v Value) (bool, error)
- func (bv BoolValue) GTE(v Value) (bool, error)
- func (bv BoolValue) LT(v Value) (bool, error)
- func (bv BoolValue) LTE(v Value) (bool, error)
- func (bv BoolValue) Mul(v Value) (Value, error)
- func (bv BoolValue) Sub(v Value) (Value, error)
- func (bv BoolValue) ToArray() (*ArrayValue, error)
- func (bv BoolValue) ToBool() (bool, error)
- func (bv BoolValue) ToFloat64() (float64, error)
- func (bv BoolValue) ToInt64() (int64, error)
- func (bv BoolValue) ToString() (string, error)
- func (bv BoolValue) ToStruct() (*StructValue, error)
- type CallStmtNode
- type CastNode
- type Catalog
- type CatalogSpecKind
- type CheckConstraintNode
- type CloneDataStmtNode
- type ColumnAnnotationsNode
- type ColumnDefaultValueNode
- type ColumnDefinitionNode
- type ColumnHolderNode
- type ColumnRefNode
- type ColumnSpec
- type CommitStmtNode
- type ComputedColumnNode
- type ConnectionNode
- type ConstantNode
- type CreateConstantStmtNode
- type CreateDatabaseStmtNode
- type CreateEntityStmtNode
- type CreateExternalTableStmtNode
- type CreateFunctionStmt
- type CreateFunctionStmtNode
- type CreateIndexStmtNode
- type CreateMaterializedViewStmtNode
- type CreateModelStmtNode
- type CreatePrivilegeRestrictionStmtNode
- type CreateProcedureStmtNode
- type CreateRowAccessPolicyStmtNode
- type CreateSchemaStmtNode
- type CreateSnapshotTableStmtNode
- type CreateTableAsSelectStmtNode
- type CreateTableFunctionStmtNode
- type CreateTableStmt
- type CreateTableStmtNode
- type CreateViewStmtNode
- type DMLDefaultNode
- type DMLStmt
- func (s *DMLStmt) CheckNamedValue(value *driver.NamedValue) error
- func (s *DMLStmt) Close() error
- func (s *DMLStmt) Exec(args []driver.Value) (driver.Result, error)
- func (s *DMLStmt) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
- func (s *DMLStmt) NumInput() int
- func (s *DMLStmt) Query(args []driver.Value) (driver.Rows, error)
- func (s *DMLStmt) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
- type DMLValueNode
- type DefineTableStmtNode
- type DeleteStmtNode
- type DescribeStmtNode
- type DescriptorNode
- type DropColumnActionNode
- type DropConstraintActionNode
- type DropFunctionStmtNode
- type DropMaterializedViewStmtNode
- type DropPrimaryKeyActionNode
- type DropPrivilegeRestrictionStmtNode
- type DropRowAccessPolicyStmtNode
- type DropSearchIndexStmtNode
- type DropSnapshotTableStmtNode
- type DropStmtNode
- type DropTableFunctionStmtNode
- type ExecuteImmediateArgumentNode
- type ExecuteImmediateStmtNode
- type ExplainStmtNode
- type ExportDataStmtNode
- type ExportModelStmtNode
- type ExpressionColumnNode
- type ExtendedCastElementNode
- type ExtendedCastNode
- type FilterFieldArgNode
- type FilterFieldNode
- type FilterScanNode
- type FilterUsingActionNode
- type FlattenNode
- type FlattenedArgNode
- type FloatValue
- func (fv FloatValue) Add(v Value) (Value, error)
- func (fv FloatValue) Div(v Value) (Value, error)
- func (fv FloatValue) EQ(v Value) (bool, error)
- func (fv FloatValue) GT(v Value) (bool, error)
- func (fv FloatValue) GTE(v Value) (bool, error)
- func (fv FloatValue) LT(v Value) (bool, error)
- func (fv FloatValue) LTE(v Value) (bool, error)
- func (fv FloatValue) Mul(v Value) (Value, error)
- func (fv FloatValue) Sub(v Value) (Value, error)
- func (fv FloatValue) ToArray() (*ArrayValue, error)
- func (fv FloatValue) ToBool() (bool, error)
- func (fv FloatValue) ToFloat64() (float64, error)
- func (fv FloatValue) ToInt64() (int64, error)
- func (fv FloatValue) ToString() (string, error)
- func (fv FloatValue) ToStruct() (*StructValue, error)
- type ForeignKeyNode
- type FunctionArgumentNode
- type FunctionCallNode
- type FunctionSignatureHolderNode
- type FunctionSpec
- type GeneratedColumnInfoNode
- type GetJsonFieldNode
- type GetProtoFieldNode
- type GetStructFieldNode
- type GrantStmtNode
- type GrantToActionNode
- type GroupRowsScanNode
- type GroupingSetNode
- type ImportStmtNode
- type IndexItemNode
- type InlineLambdaNode
- type InsertRowNode
- type InsertStmtNode
- type IntValue
- func (iv IntValue) Add(v Value) (Value, error)
- func (iv IntValue) Div(v Value) (Value, error)
- func (iv IntValue) EQ(v Value) (bool, error)
- func (iv IntValue) GT(v Value) (bool, error)
- func (iv IntValue) GTE(v Value) (bool, error)
- func (iv IntValue) LT(v Value) (bool, error)
- func (iv IntValue) LTE(v Value) (bool, error)
- func (iv IntValue) Mul(v Value) (Value, error)
- func (iv IntValue) Sub(v Value) (Value, error)
- func (iv IntValue) ToArray() (*ArrayValue, error)
- func (iv IntValue) ToBool() (bool, error)
- func (iv IntValue) ToFloat64() (float64, error)
- func (iv IntValue) ToInt64() (int64, error)
- func (iv IntValue) ToString() (string, error)
- func (iv IntValue) ToStruct() (*StructValue, error)
- type JoinScanNode
- type LetExprNode
- type LimitOffsetScanNode
- type LiteralNode
- type MakeProtoFieldNode
- type MakeProtoNode
- type MakeStructNode
- type MergeStmtNode
- type MergeWhenNode
- type ModelNode
- type ModuleStmtNode
- type NameWithType
- type Node
- type ObjectUnitNode
- type OptionNode
- type OrderByItemNode
- type OrderByScanNode
- type OutputColumnNode
- type ParameterNode
- type PivotColumnNode
- type PivotScanNode
- type PrimaryKeyNode
- type PrivilegeNode
- type ProjectScanNode
- type QueryStmt
- func (s *QueryStmt) CheckNamedValue(value *driver.NamedValue) error
- func (s *QueryStmt) Close() error
- func (s *QueryStmt) Exec(args []driver.Value) (driver.Result, error)
- func (s *QueryStmt) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
- func (s *QueryStmt) NumInput() int
- func (s *QueryStmt) OutputColumns() []*ColumnSpec
- func (s *QueryStmt) Query(args []driver.Value) (driver.Rows, error)
- func (s *QueryStmt) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
- type QueryStmtNode
- type RecursiveRefScanNode
- type RecursiveScanNode
- type RelationArgumentScanNode
- type RemoveFromRestricteeListActionNode
- type RenameColumnActionNode
- type RenameStmtNode
- type RenameToActionNode
- type ReplaceFieldItemNode
- type ReplaceFieldNode
- type RestrictToActionNode
- type ReturningClauseNode
- type RevokeFromActionNode
- type RevokeStmtNode
- type RollbackStmtNode
- type Rows
- type RunBatchStmtNode
- type SampleScanNode
- type SetAsActionNode
- type SetCollateClauseNode
- type SetOperationItemNode
- type SetOperationScanNode
- type SetOptionsActionNode
- type SetTransactionStmtNode
- type ShowStmtNode
- type SingleRowScanNode
- type StartBatchStmtNode
- type StringValue
- func (sv StringValue) Add(v Value) (Value, error)
- func (sv StringValue) Div(v Value) (Value, error)
- func (sv StringValue) EQ(v Value) (bool, error)
- func (sv StringValue) GT(v Value) (bool, error)
- func (sv StringValue) GTE(v Value) (bool, error)
- func (sv StringValue) LT(v Value) (bool, error)
- func (sv StringValue) LTE(v Value) (bool, error)
- func (sv StringValue) Mul(v Value) (Value, error)
- func (sv StringValue) Sub(v Value) (Value, error)
- func (sv StringValue) ToArray() (*ArrayValue, error)
- func (sv StringValue) ToBool() (bool, error)
- func (sv StringValue) ToFloat64() (float64, error)
- func (sv StringValue) ToInt64() (int64, error)
- func (sv StringValue) ToString() (string, error)
- func (sv StringValue) ToStruct() (*StructValue, error)
- type StructValue
- func (sv *StructValue) Add(v Value) (Value, error)
- func (sv *StructValue) Div(v Value) (Value, error)
- func (sv *StructValue) EQ(v Value) (bool, error)
- func (sv *StructValue) GT(v Value) (bool, error)
- func (sv *StructValue) GTE(v Value) (bool, error)
- func (sv *StructValue) LT(v Value) (bool, error)
- func (sv *StructValue) LTE(v Value) (bool, error)
- func (sv *StructValue) Mul(v Value) (Value, error)
- func (sv *StructValue) Sub(v Value) (Value, error)
- func (sv *StructValue) ToArray() (*ArrayValue, error)
- func (sv *StructValue) ToBool() (bool, error)
- func (sv *StructValue) ToFloat64() (float64, error)
- func (sv *StructValue) ToInt64() (int64, error)
- func (sv *StructValue) ToString() (string, error)
- func (sv *StructValue) ToStruct() (*StructValue, error)
- type SubqueryExprNode
- type SystemVariableNode
- type TVFScanNode
- type TableAndColumnInfoNode
- type TableScanNode
- type TableSpec
- type TruncateStmtNode
- type Type
- type UnnestItemNode
- type UnpivotArgNode
- type UnpivotScanNode
- type UpdateArrayItemNode
- type UpdateItemNode
- type UpdateStmtNode
- type Value
- type WindowFrameExprNode
- type WindowFrameNode
- type WindowOrderingNode
- type WindowPartitioningNode
- type WithEntryNode
- type WithPartitionColumnsNode
- type WithRefScanNode
- type WithScanNode
- type ZetaSQLiteConn
- func (c *ZetaSQLiteConn) AddNamePath(path string)
- func (c *ZetaSQLiteConn) Begin() (driver.Tx, error)
- func (s *ZetaSQLiteConn) CheckNamedValue(value *driver.NamedValue) error
- func (c *ZetaSQLiteConn) Close() error
- func (c *ZetaSQLiteConn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
- func (c *ZetaSQLiteConn) NamePath() []string
- func (c *ZetaSQLiteConn) Prepare(query string) (driver.Stmt, error)
- func (c *ZetaSQLiteConn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
- func (c *ZetaSQLiteConn) SetNamePath(path []string)
- type ZetaSQLiteDriver
- type ZetaSQLiteTx
Constants ¶
View Source
const ( ArrayValueHeader = "zetasqlitearray:" StructValueHeader = "zetasqlitestruct:" )
Variables ¶
This section is empty.
Functions ¶
func SQLiteValue ¶
func SQLiteValue(v interface{}) (interface{}, error)
Types ¶
type AbortBatchStmtNode ¶
type AbortBatchStmtNode struct {
// contains filtered or unexported fields
}
type AddColumnActionNode ¶
type AddColumnActionNode struct {
// contains filtered or unexported fields
}
type AddConstraintActionNode ¶
type AddConstraintActionNode struct {
// contains filtered or unexported fields
}
type AddToRestricteeListActionNode ¶
type AddToRestricteeListActionNode struct {
// contains filtered or unexported fields
}
type AggregateFunctionCallNode ¶
type AggregateFunctionCallNode struct {
// contains filtered or unexported fields
}
type AggregateHavingModifierNode ¶
type AggregateHavingModifierNode struct {
// contains filtered or unexported fields
}
type AggregateScanNode ¶
type AggregateScanNode struct {
// contains filtered or unexported fields
}
type AlterAllRowAccessPoliciesStmtNode ¶
type AlterAllRowAccessPoliciesStmtNode struct {
// contains filtered or unexported fields
}
type AlterColumnDropDefaultActionNode ¶
type AlterColumnDropDefaultActionNode struct {
// contains filtered or unexported fields
}
type AlterColumnDropNotNullActionNode ¶
type AlterColumnDropNotNullActionNode struct {
// contains filtered or unexported fields
}
type AlterColumnOptionsActionNode ¶
type AlterColumnOptionsActionNode struct {
// contains filtered or unexported fields
}
type AlterColumnSetDataTypeActionNode ¶
type AlterColumnSetDataTypeActionNode struct {
// contains filtered or unexported fields
}
type AlterColumnSetDefaultActionNode ¶
type AlterColumnSetDefaultActionNode struct {
// contains filtered or unexported fields
}
type AlterDatabaseStmtNode ¶
type AlterDatabaseStmtNode struct {
// contains filtered or unexported fields
}
type AlterEntityStmtNode ¶
type AlterEntityStmtNode struct {
// contains filtered or unexported fields
}
type AlterMaterializedViewStmtNode ¶
type AlterMaterializedViewStmtNode struct {
// contains filtered or unexported fields
}
type AlterPrivilegeRestrictionStmtNode ¶
type AlterPrivilegeRestrictionStmtNode struct {
// contains filtered or unexported fields
}
type AlterRowAccessPolicyStmtNode ¶
type AlterRowAccessPolicyStmtNode struct {
// contains filtered or unexported fields
}
type AlterSchemaStmtNode ¶
type AlterSchemaStmtNode struct {
// contains filtered or unexported fields
}
type AlterTableSetOptionsStmtNode ¶
type AlterTableSetOptionsStmtNode struct {
// contains filtered or unexported fields
}
type AlterTableStmtNode ¶
type AlterTableStmtNode struct {
// contains filtered or unexported fields
}
type AlterViewStmtNode ¶
type AlterViewStmtNode struct {
// contains filtered or unexported fields
}
type AnalyticFunctionCallNode ¶
type AnalyticFunctionCallNode struct {
// contains filtered or unexported fields
}
type AnalyticFunctionGroupNode ¶
type AnalyticFunctionGroupNode struct {
// contains filtered or unexported fields
}
type AnalyticScanNode ¶
type AnalyticScanNode struct {
// contains filtered or unexported fields
}
type AnalyzeStmtNode ¶
type AnalyzeStmtNode struct {
// contains filtered or unexported fields
}
type AnalyzerOutput ¶
type AnalyzerOutput struct {
// contains filtered or unexported fields
}
type AnonymizedAggregateScanNode ¶
type AnonymizedAggregateScanNode struct {
// contains filtered or unexported fields
}
type ArgumentDefNode ¶
type ArgumentDefNode struct {
// contains filtered or unexported fields
}
type ArgumentListNode ¶
type ArgumentListNode struct {
// contains filtered or unexported fields
}
type ArgumentRefNode ¶
type ArgumentRefNode struct {
// contains filtered or unexported fields
}
type ArrayScanNode ¶
type ArrayScanNode struct {
// contains filtered or unexported fields
}
type ArrayValue ¶
type ArrayValue struct {
// contains filtered or unexported fields
}
func (*ArrayValue) ToArray ¶
func (av *ArrayValue) ToArray() (*ArrayValue, error)
func (*ArrayValue) ToBool ¶
func (av *ArrayValue) ToBool() (bool, error)
func (*ArrayValue) ToFloat64 ¶
func (av *ArrayValue) ToFloat64() (float64, error)
func (*ArrayValue) ToInt64 ¶
func (av *ArrayValue) ToInt64() (int64, error)
func (*ArrayValue) ToString ¶
func (av *ArrayValue) ToString() (string, error)
func (*ArrayValue) ToStruct ¶
func (av *ArrayValue) ToStruct() (*StructValue, error)
type AssertRowsModifiedNode ¶
type AssertRowsModifiedNode struct {
// contains filtered or unexported fields
}
type AssertStmtNode ¶
type AssertStmtNode struct {
// contains filtered or unexported fields
}
type AssignmentStmtNode ¶
type AssignmentStmtNode struct {
// contains filtered or unexported fields
}
type AuxLoadDataStmtNode ¶
type AuxLoadDataStmtNode struct {
// contains filtered or unexported fields
}
type BeginStmtNode ¶
type BeginStmtNode struct {
// contains filtered or unexported fields
}
type BoolValue ¶
type BoolValue bool
func (BoolValue) ToArray ¶
func (bv BoolValue) ToArray() (*ArrayValue, error)
func (BoolValue) ToStruct ¶
func (bv BoolValue) ToStruct() (*StructValue, error)
type CallStmtNode ¶
type CallStmtNode struct {
// contains filtered or unexported fields
}
type Catalog ¶
type Catalog struct {
// contains filtered or unexported fields
}
func (*Catalog) AddNewFunctionSpec ¶
func (c *Catalog) AddNewFunctionSpec(ctx context.Context, spec *FunctionSpec) error
func (*Catalog) AddNewTableSpec ¶
type CatalogSpecKind ¶
type CatalogSpecKind string
const ( TableSpecKind CatalogSpecKind = "table" FunctionSpecKind CatalogSpecKind = "function" )
type CheckConstraintNode ¶
type CheckConstraintNode struct {
// contains filtered or unexported fields
}
type CloneDataStmtNode ¶
type CloneDataStmtNode struct {
// contains filtered or unexported fields
}
type ColumnAnnotationsNode ¶
type ColumnAnnotationsNode struct {
// contains filtered or unexported fields
}
type ColumnDefaultValueNode ¶
type ColumnDefaultValueNode struct {
// contains filtered or unexported fields
}
type ColumnDefinitionNode ¶
type ColumnDefinitionNode struct {
// contains filtered or unexported fields
}
type ColumnHolderNode ¶
type ColumnHolderNode struct {
// contains filtered or unexported fields
}
type ColumnRefNode ¶
type ColumnRefNode struct {
// contains filtered or unexported fields
}
type ColumnSpec ¶
type ColumnSpec struct { Name string `json:"name"` Type *Type `json:"type"` IsNotNull bool `json:"isNotNull"` }
func (*ColumnSpec) SQLiteSchema ¶
func (s *ColumnSpec) SQLiteSchema() string
type CommitStmtNode ¶
type CommitStmtNode struct {
// contains filtered or unexported fields
}
type ComputedColumnNode ¶
type ComputedColumnNode struct {
// contains filtered or unexported fields
}
type ConnectionNode ¶
type ConnectionNode struct {
// contains filtered or unexported fields
}
type ConstantNode ¶
type ConstantNode struct {
// contains filtered or unexported fields
}
type CreateConstantStmtNode ¶
type CreateConstantStmtNode struct {
// contains filtered or unexported fields
}
type CreateDatabaseStmtNode ¶
type CreateDatabaseStmtNode struct {
// contains filtered or unexported fields
}
type CreateEntityStmtNode ¶
type CreateEntityStmtNode struct {
// contains filtered or unexported fields
}
type CreateExternalTableStmtNode ¶
type CreateExternalTableStmtNode struct {
// contains filtered or unexported fields
}
type CreateFunctionStmt ¶
type CreateFunctionStmt struct {
// contains filtered or unexported fields
}
func (*CreateFunctionStmt) Close ¶
func (s *CreateFunctionStmt) Close() error
func (*CreateFunctionStmt) NumInput ¶
func (s *CreateFunctionStmt) NumInput() int
type CreateFunctionStmtNode ¶
type CreateFunctionStmtNode struct {
// contains filtered or unexported fields
}
type CreateIndexStmtNode ¶
type CreateIndexStmtNode struct {
// contains filtered or unexported fields
}
type CreateMaterializedViewStmtNode ¶
type CreateMaterializedViewStmtNode struct {
// contains filtered or unexported fields
}
type CreateModelStmtNode ¶
type CreateModelStmtNode struct {
// contains filtered or unexported fields
}
type CreatePrivilegeRestrictionStmtNode ¶
type CreatePrivilegeRestrictionStmtNode struct {
// contains filtered or unexported fields
}
type CreateProcedureStmtNode ¶
type CreateProcedureStmtNode struct {
// contains filtered or unexported fields
}
type CreateRowAccessPolicyStmtNode ¶
type CreateRowAccessPolicyStmtNode struct {
// contains filtered or unexported fields
}
type CreateSchemaStmtNode ¶
type CreateSchemaStmtNode struct {
// contains filtered or unexported fields
}
type CreateSnapshotTableStmtNode ¶
type CreateSnapshotTableStmtNode struct {
// contains filtered or unexported fields
}
type CreateTableAsSelectStmtNode ¶
type CreateTableAsSelectStmtNode struct {
// contains filtered or unexported fields
}
type CreateTableFunctionStmtNode ¶
type CreateTableFunctionStmtNode struct {
// contains filtered or unexported fields
}
type CreateTableStmt ¶
type CreateTableStmt struct {
// contains filtered or unexported fields
}
func (*CreateTableStmt) Close ¶
func (s *CreateTableStmt) Close() error
func (*CreateTableStmt) NumInput ¶
func (s *CreateTableStmt) NumInput() int
type CreateTableStmtNode ¶
type CreateTableStmtNode struct {
// contains filtered or unexported fields
}
type CreateViewStmtNode ¶
type CreateViewStmtNode struct {
// contains filtered or unexported fields
}
type DMLDefaultNode ¶
type DMLDefaultNode struct {
// contains filtered or unexported fields
}
type DMLStmt ¶
type DMLStmt struct {
// contains filtered or unexported fields
}
func (*DMLStmt) CheckNamedValue ¶
func (s *DMLStmt) CheckNamedValue(value *driver.NamedValue) error
func (*DMLStmt) ExecContext ¶
type DMLValueNode ¶
type DMLValueNode struct {
// contains filtered or unexported fields
}
type DefineTableStmtNode ¶
type DefineTableStmtNode struct {
// contains filtered or unexported fields
}
type DeleteStmtNode ¶
type DeleteStmtNode struct {
// contains filtered or unexported fields
}
type DescribeStmtNode ¶
type DescribeStmtNode struct {
// contains filtered or unexported fields
}
type DescriptorNode ¶
type DescriptorNode struct {
// contains filtered or unexported fields
}
type DropColumnActionNode ¶
type DropColumnActionNode struct {
// contains filtered or unexported fields
}
type DropConstraintActionNode ¶
type DropConstraintActionNode struct {
// contains filtered or unexported fields
}
type DropFunctionStmtNode ¶
type DropFunctionStmtNode struct {
// contains filtered or unexported fields
}
type DropMaterializedViewStmtNode ¶
type DropMaterializedViewStmtNode struct {
// contains filtered or unexported fields
}
type DropPrimaryKeyActionNode ¶
type DropPrimaryKeyActionNode struct {
// contains filtered or unexported fields
}
type DropPrivilegeRestrictionStmtNode ¶
type DropPrivilegeRestrictionStmtNode struct {
// contains filtered or unexported fields
}
type DropRowAccessPolicyStmtNode ¶
type DropRowAccessPolicyStmtNode struct {
// contains filtered or unexported fields
}
type DropSearchIndexStmtNode ¶
type DropSearchIndexStmtNode struct {
// contains filtered or unexported fields
}
type DropSnapshotTableStmtNode ¶
type DropSnapshotTableStmtNode struct {
// contains filtered or unexported fields
}
type DropStmtNode ¶
type DropStmtNode struct {
// contains filtered or unexported fields
}
type DropTableFunctionStmtNode ¶
type DropTableFunctionStmtNode struct {
// contains filtered or unexported fields
}
type ExecuteImmediateArgumentNode ¶
type ExecuteImmediateArgumentNode struct {
// contains filtered or unexported fields
}
type ExecuteImmediateStmtNode ¶
type ExecuteImmediateStmtNode struct {
// contains filtered or unexported fields
}
type ExplainStmtNode ¶
type ExplainStmtNode struct {
// contains filtered or unexported fields
}
type ExportDataStmtNode ¶
type ExportDataStmtNode struct {
// contains filtered or unexported fields
}
type ExportModelStmtNode ¶
type ExportModelStmtNode struct {
// contains filtered or unexported fields
}
type ExpressionColumnNode ¶
type ExpressionColumnNode struct {
// contains filtered or unexported fields
}
type ExtendedCastElementNode ¶
type ExtendedCastElementNode struct {
// contains filtered or unexported fields
}
type ExtendedCastNode ¶
type ExtendedCastNode struct {
// contains filtered or unexported fields
}
type FilterFieldArgNode ¶
type FilterFieldArgNode struct {
// contains filtered or unexported fields
}
type FilterFieldNode ¶
type FilterFieldNode struct {
// contains filtered or unexported fields
}
type FilterScanNode ¶
type FilterScanNode struct {
// contains filtered or unexported fields
}
type FilterUsingActionNode ¶
type FilterUsingActionNode struct {
// contains filtered or unexported fields
}
type FlattenNode ¶
type FlattenNode struct {
// contains filtered or unexported fields
}
type FlattenedArgNode ¶
type FlattenedArgNode struct {
// contains filtered or unexported fields
}
type FloatValue ¶
type FloatValue float64
func (FloatValue) ToArray ¶
func (fv FloatValue) ToArray() (*ArrayValue, error)
func (FloatValue) ToBool ¶
func (fv FloatValue) ToBool() (bool, error)
func (FloatValue) ToFloat64 ¶
func (fv FloatValue) ToFloat64() (float64, error)
func (FloatValue) ToInt64 ¶
func (fv FloatValue) ToInt64() (int64, error)
func (FloatValue) ToString ¶
func (fv FloatValue) ToString() (string, error)
func (FloatValue) ToStruct ¶
func (fv FloatValue) ToStruct() (*StructValue, error)
type ForeignKeyNode ¶
type ForeignKeyNode struct {
// contains filtered or unexported fields
}
type FunctionArgumentNode ¶
type FunctionArgumentNode struct {
// contains filtered or unexported fields
}
type FunctionCallNode ¶
type FunctionCallNode struct {
// contains filtered or unexported fields
}
type FunctionSignatureHolderNode ¶
type FunctionSignatureHolderNode struct {
// contains filtered or unexported fields
}
type FunctionSpec ¶
type FunctionSpec struct { NamePath []string `json:"name"` Language string `json:"language"` Args []*NameWithType `json:"args"` Return *Type `json:"return"` Body string `json:"body"` Code string `json:"code"` }
func (*FunctionSpec) FuncName ¶
func (s *FunctionSpec) FuncName() string
func (*FunctionSpec) SQL ¶
func (s *FunctionSpec) SQL() string
type GeneratedColumnInfoNode ¶
type GeneratedColumnInfoNode struct {
// contains filtered or unexported fields
}
type GetJsonFieldNode ¶
type GetJsonFieldNode struct {
// contains filtered or unexported fields
}
type GetProtoFieldNode ¶
type GetProtoFieldNode struct {
// contains filtered or unexported fields
}
type GetStructFieldNode ¶
type GetStructFieldNode struct {
// contains filtered or unexported fields
}
type GrantStmtNode ¶
type GrantStmtNode struct {
// contains filtered or unexported fields
}
type GrantToActionNode ¶
type GrantToActionNode struct {
// contains filtered or unexported fields
}
type GroupRowsScanNode ¶
type GroupRowsScanNode struct {
// contains filtered or unexported fields
}
type GroupingSetNode ¶
type GroupingSetNode struct {
// contains filtered or unexported fields
}
type ImportStmtNode ¶
type ImportStmtNode struct {
// contains filtered or unexported fields
}
type IndexItemNode ¶
type IndexItemNode struct {
// contains filtered or unexported fields
}
type InlineLambdaNode ¶
type InlineLambdaNode struct {
// contains filtered or unexported fields
}
type InsertRowNode ¶
type InsertRowNode struct {
// contains filtered or unexported fields
}
type InsertStmtNode ¶
type InsertStmtNode struct {
// contains filtered or unexported fields
}
type IntValue ¶
type IntValue int64
func (IntValue) ToArray ¶
func (iv IntValue) ToArray() (*ArrayValue, error)
func (IntValue) ToStruct ¶
func (iv IntValue) ToStruct() (*StructValue, error)
type JoinScanNode ¶
type JoinScanNode struct {
// contains filtered or unexported fields
}
type LetExprNode ¶
type LetExprNode struct {
// contains filtered or unexported fields
}
type LimitOffsetScanNode ¶
type LimitOffsetScanNode struct {
// contains filtered or unexported fields
}
type LiteralNode ¶
type LiteralNode struct {
// contains filtered or unexported fields
}
type MakeProtoFieldNode ¶
type MakeProtoFieldNode struct {
// contains filtered or unexported fields
}
type MakeProtoNode ¶
type MakeProtoNode struct {
// contains filtered or unexported fields
}
type MakeStructNode ¶
type MakeStructNode struct {
// contains filtered or unexported fields
}
type MergeStmtNode ¶
type MergeStmtNode struct {
// contains filtered or unexported fields
}
type MergeWhenNode ¶
type MergeWhenNode struct {
// contains filtered or unexported fields
}
type ModuleStmtNode ¶
type ModuleStmtNode struct {
// contains filtered or unexported fields
}
type NameWithType ¶
type ObjectUnitNode ¶
type ObjectUnitNode struct {
// contains filtered or unexported fields
}
type OptionNode ¶
type OptionNode struct {
// contains filtered or unexported fields
}
type OrderByItemNode ¶
type OrderByItemNode struct {
// contains filtered or unexported fields
}
type OrderByScanNode ¶
type OrderByScanNode struct {
// contains filtered or unexported fields
}
type OutputColumnNode ¶
type OutputColumnNode struct {
// contains filtered or unexported fields
}
type ParameterNode ¶
type ParameterNode struct {
// contains filtered or unexported fields
}
type PivotColumnNode ¶
type PivotColumnNode struct {
// contains filtered or unexported fields
}
type PivotScanNode ¶
type PivotScanNode struct {
// contains filtered or unexported fields
}
type PrimaryKeyNode ¶
type PrimaryKeyNode struct {
// contains filtered or unexported fields
}
type PrivilegeNode ¶
type PrivilegeNode struct {
// contains filtered or unexported fields
}
type ProjectScanNode ¶
type ProjectScanNode struct {
// contains filtered or unexported fields
}
type QueryStmt ¶
type QueryStmt struct {
// contains filtered or unexported fields
}
func (*QueryStmt) CheckNamedValue ¶
func (s *QueryStmt) CheckNamedValue(value *driver.NamedValue) error
func (*QueryStmt) ExecContext ¶
func (*QueryStmt) OutputColumns ¶
func (s *QueryStmt) OutputColumns() []*ColumnSpec
type QueryStmtNode ¶
type QueryStmtNode struct {
// contains filtered or unexported fields
}
type RecursiveRefScanNode ¶
type RecursiveRefScanNode struct {
// contains filtered or unexported fields
}
type RecursiveScanNode ¶
type RecursiveScanNode struct {
// contains filtered or unexported fields
}
type RelationArgumentScanNode ¶
type RelationArgumentScanNode struct {
// contains filtered or unexported fields
}
type RemoveFromRestricteeListActionNode ¶
type RemoveFromRestricteeListActionNode struct {
// contains filtered or unexported fields
}
type RenameColumnActionNode ¶
type RenameColumnActionNode struct {
// contains filtered or unexported fields
}
type RenameStmtNode ¶
type RenameStmtNode struct {
// contains filtered or unexported fields
}
type RenameToActionNode ¶
type RenameToActionNode struct {
// contains filtered or unexported fields
}
type ReplaceFieldItemNode ¶
type ReplaceFieldItemNode struct {
// contains filtered or unexported fields
}
type ReplaceFieldNode ¶
type ReplaceFieldNode struct {
// contains filtered or unexported fields
}
type RestrictToActionNode ¶
type RestrictToActionNode struct {
// contains filtered or unexported fields
}
type ReturningClauseNode ¶
type ReturningClauseNode struct {
// contains filtered or unexported fields
}
type RevokeFromActionNode ¶
type RevokeFromActionNode struct {
// contains filtered or unexported fields
}
type RevokeStmtNode ¶
type RevokeStmtNode struct {
// contains filtered or unexported fields
}
type RollbackStmtNode ¶
type RollbackStmtNode struct {
// contains filtered or unexported fields
}
type Rows ¶
type Rows struct {
// contains filtered or unexported fields
}
func (*Rows) ColumnTypeDatabaseTypeName ¶ added in v0.2.0
type RunBatchStmtNode ¶
type RunBatchStmtNode struct {
// contains filtered or unexported fields
}
type SampleScanNode ¶
type SampleScanNode struct {
// contains filtered or unexported fields
}
type SetAsActionNode ¶
type SetAsActionNode struct {
// contains filtered or unexported fields
}
type SetCollateClauseNode ¶
type SetCollateClauseNode struct {
// contains filtered or unexported fields
}
type SetOperationItemNode ¶
type SetOperationItemNode struct {
// contains filtered or unexported fields
}
type SetOperationScanNode ¶
type SetOperationScanNode struct {
// contains filtered or unexported fields
}
type SetOptionsActionNode ¶
type SetOptionsActionNode struct {
// contains filtered or unexported fields
}
type SetTransactionStmtNode ¶
type SetTransactionStmtNode struct {
// contains filtered or unexported fields
}
type ShowStmtNode ¶
type ShowStmtNode struct {
// contains filtered or unexported fields
}
type SingleRowScanNode ¶
type SingleRowScanNode struct {
// contains filtered or unexported fields
}
type StartBatchStmtNode ¶
type StartBatchStmtNode struct {
// contains filtered or unexported fields
}
type StringValue ¶
type StringValue string
func (StringValue) ToArray ¶
func (sv StringValue) ToArray() (*ArrayValue, error)
func (StringValue) ToBool ¶
func (sv StringValue) ToBool() (bool, error)
func (StringValue) ToFloat64 ¶
func (sv StringValue) ToFloat64() (float64, error)
func (StringValue) ToInt64 ¶
func (sv StringValue) ToInt64() (int64, error)
func (StringValue) ToString ¶
func (sv StringValue) ToString() (string, error)
func (StringValue) ToStruct ¶
func (sv StringValue) ToStruct() (*StructValue, error)
type StructValue ¶
type StructValue struct {
// contains filtered or unexported fields
}
func (*StructValue) ToArray ¶
func (sv *StructValue) ToArray() (*ArrayValue, error)
func (*StructValue) ToBool ¶
func (sv *StructValue) ToBool() (bool, error)
func (*StructValue) ToFloat64 ¶
func (sv *StructValue) ToFloat64() (float64, error)
func (*StructValue) ToInt64 ¶
func (sv *StructValue) ToInt64() (int64, error)
func (*StructValue) ToString ¶
func (sv *StructValue) ToString() (string, error)
func (*StructValue) ToStruct ¶
func (sv *StructValue) ToStruct() (*StructValue, error)
type SubqueryExprNode ¶
type SubqueryExprNode struct {
// contains filtered or unexported fields
}
type SystemVariableNode ¶
type SystemVariableNode struct {
// contains filtered or unexported fields
}
type TVFScanNode ¶
type TVFScanNode struct {
// contains filtered or unexported fields
}
type TableAndColumnInfoNode ¶
type TableAndColumnInfoNode struct {
// contains filtered or unexported fields
}
type TableScanNode ¶
type TableScanNode struct {
// contains filtered or unexported fields
}
type TableSpec ¶
type TableSpec struct { NamePath []string `json:"namePath"` Columns []*ColumnSpec `json:"columns"` CreateMode ast.CreateMode `json:"createMode"` }
func (*TableSpec) Column ¶
func (s *TableSpec) Column(name string) *ColumnSpec
func (*TableSpec) SQLiteSchema ¶
type TruncateStmtNode ¶
type TruncateStmtNode struct {
// contains filtered or unexported fields
}
type Type ¶
type Type struct { Name string `json:"name"` Kind int `json:"kind"` ElementType *Type `json:"elementType"` FieldTypes []*NameWithType `json:"fieldTypes"` }
type UnnestItemNode ¶
type UnnestItemNode struct {
// contains filtered or unexported fields
}
type UnpivotArgNode ¶
type UnpivotArgNode struct {
// contains filtered or unexported fields
}
type UnpivotScanNode ¶
type UnpivotScanNode struct {
// contains filtered or unexported fields
}
type UpdateArrayItemNode ¶
type UpdateArrayItemNode struct {
// contains filtered or unexported fields
}
type UpdateItemNode ¶
type UpdateItemNode struct {
// contains filtered or unexported fields
}
type UpdateStmtNode ¶
type UpdateStmtNode struct {
// contains filtered or unexported fields
}
type Value ¶
type Value interface { Add(Value) (Value, error) Sub(Value) (Value, error) Mul(Value) (Value, error) Div(Value) (Value, error) EQ(Value) (bool, error) GT(Value) (bool, error) GTE(Value) (bool, error) LT(Value) (bool, error) LTE(Value) (bool, error) ToInt64() (int64, error) ToString() (string, error) ToFloat64() (float64, error) ToBool() (bool, error) ToArray() (*ArrayValue, error) ToStruct() (*StructValue, error) }
func ArrayValueOf ¶
func StructValueOf ¶
type WindowFrameExprNode ¶
type WindowFrameExprNode struct {
// contains filtered or unexported fields
}
type WindowFrameNode ¶
type WindowFrameNode struct {
// contains filtered or unexported fields
}
type WindowOrderingNode ¶
type WindowOrderingNode struct {
// contains filtered or unexported fields
}
type WindowPartitioningNode ¶
type WindowPartitioningNode struct {
// contains filtered or unexported fields
}
type WithEntryNode ¶
type WithEntryNode struct {
// contains filtered or unexported fields
}
type WithPartitionColumnsNode ¶
type WithPartitionColumnsNode struct {
// contains filtered or unexported fields
}
type WithRefScanNode ¶
type WithRefScanNode struct {
// contains filtered or unexported fields
}
type WithScanNode ¶
type WithScanNode struct {
// contains filtered or unexported fields
}
type ZetaSQLiteConn ¶
type ZetaSQLiteConn struct {
// contains filtered or unexported fields
}
func (*ZetaSQLiteConn) AddNamePath ¶
func (c *ZetaSQLiteConn) AddNamePath(path string)
func (*ZetaSQLiteConn) CheckNamedValue ¶
func (s *ZetaSQLiteConn) CheckNamedValue(value *driver.NamedValue) error
func (*ZetaSQLiteConn) Close ¶
func (c *ZetaSQLiteConn) Close() error
func (*ZetaSQLiteConn) ExecContext ¶
func (c *ZetaSQLiteConn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
func (*ZetaSQLiteConn) NamePath ¶
func (c *ZetaSQLiteConn) NamePath() []string
func (*ZetaSQLiteConn) Prepare ¶
func (c *ZetaSQLiteConn) Prepare(query string) (driver.Stmt, error)
func (*ZetaSQLiteConn) QueryContext ¶
func (c *ZetaSQLiteConn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
func (*ZetaSQLiteConn) SetNamePath ¶
func (c *ZetaSQLiteConn) SetNamePath(path []string)
type ZetaSQLiteDriver ¶
type ZetaSQLiteDriver struct {
ConnectHook func(*ZetaSQLiteConn) error
}
type ZetaSQLiteTx ¶
type ZetaSQLiteTx struct {
// contains filtered or unexported fields
}
func (*ZetaSQLiteTx) Commit ¶
func (tx *ZetaSQLiteTx) Commit() error
func (*ZetaSQLiteTx) Rollback ¶
func (tx *ZetaSQLiteTx) Rollback() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.