Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
type Customer struct { CustomerKey Identifier `tpch:"c_custkey"` Name string `tpch:"c_name,25"` Address string `tpch:"c_address,40"` NationKey Identifier `tpch:"c_nationkey"` Phone string `tpch:"c_phone,25"` AccountBalance float64 `tpch:"c_acctbal"` MarketSegment string `tpch:"c_mktsegment,10"` Comment string `tpch:"c_comment,117"` }
type Identifier ¶
type Identifier int64
type LineItem ¶
type LineItem struct { OrderKey Identifier `tpch:"l_orderkey"` PartKey Identifier `tpch:"l_partkey"` SupplierKey Identifier `tpch:"l_suppkey"` LineNumber int64 `tpch:"l_linenumber"` Quantity float64 `tpch:"l_quantity"` ExtendedPrice float64 `tpch:"l_extendedprice"` Discount float64 `tpch:"l_discount"` Tax float64 `tpch:"l_tax"` ReturnFlag string `tpch:"l_returnflag,1"` LineStatus string `tpch:"l_linestatus,1"` ShipDate time.Time `tpch:"l_shipdate"` CommitDate time.Time `tpch:"l_commitdate"` ReceiptDate time.Time `tpch:"l_receiptdate"` ShipInstruct string `tpch:"l_shipinstruct,25"` ShipMode string `tpch:"l_shipmode,10"` Comment string `tpch:"l_comment,44"` }
type Nation ¶
type Nation struct { NationKey Identifier `tpch:"n_nationkey"` Name string `tpch:"n_name,25"` RegionKey Identifier `tpch:"n_regionkey"` Comment string `tpch:"n_comment,152"` }
type Order ¶
type Order struct { OrderKey Identifier `tpch:"o_orderkey"` CustomerKey Identifier `tpch:"o_custkey"` OrderStatus string `tpch:"o_orderstatus,1"` TotalPrice float64 `tpch:"o_totalprice"` OrderDate time.Time `tpch:"o_orderdate"` OrderPriority string `tpch:"o_orderpriority,15"` Clerk string `tpch:"o_clerk,15"` ShipPriority int64 `tpch:"o_shippriority"` Comment string `tpch:"o_comment,79"` }
type Part ¶
type Part struct { PartKey Identifier `tpch:"p_partkey"` Name string `tpch:"p_name,55"` Manufacturer string `tpch:"p_mfgr,25"` Brand string `tpch:"p_brand,10"` Type string `tpch:"p_type,25"` Size int64 `tpch:"p_size"` Container string `tpch:"p_container,10"` RetailPrice float64 `tpch:"p_retailprice"` Comment string `tpch:"p_comment,23"` }
type PartSupplier ¶
type PartSupplier struct { PartKey Identifier `tpch:"ps_partkey"` SupplierKey Identifier `tpch:"ps_suppkey"` AvailableQuantity int64 `tpch:"ps_availqty"` SupplyCost float64 `tpch:"ps_supplycost"` Comment string `tpch:"ps_comment,199"` }
type Region ¶
type Region struct { RegionKey Identifier `tpch:"r_regionkey"` Name string `tpch:"r_name,25"` Comment string `tpch:"r_comment,152"` }
type Supplier ¶
type Supplier struct { SupplierKey Identifier `tpch:"s_suppkey"` Name string `tpch:"s_name,25"` Address string `tpch:"s_address,40"` NationKey Identifier `tpch:"s_nationkey"` Phone string `tpch:"s_phone,15"` AccountBalance float64 `tpch:"s_acctbal"` Comment string `tpch:"s_comment,101"` }
Click to show internal directories.
Click to hide internal directories.