Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Username string `` /* 134-byte string literal not displayed */
Password string `` /* 134-byte string literal not displayed */
JWTToken string `name:"token" help:"JWT token to use for authentication. To be used instead of username and password." env:"SD_TOKEN"`
Database string `short:"d" name:"database" required:"" help:"Database to execute queries against." env:"SD_DATABASE"`
Server string `short:"s" name:"server" required:"" help:"URL of the Stardog server." env:"SD_SERVER"`
Query string `` /* 128-byte string literal not displayed */
QueryFile *os.File `short:"f" name:"file" required:"" help:"File containing the query to execute." group:"Query Flags" xor:"Query Flags"`
Timeout int `short:"t" name:"timeout" help:"Timeout in milliseconds for the provided query."`
Reasoning bool `short:"r" name:"reasoning" default:"false" help:"Enable reasoning for the provided query."`
NumConcurrentQueries int `short:"c" name:"concurrent-queries" required:"" help:"Number of concurrent queries to execute."`
Format string `name:"format" enum:"table,csv" default:"table" help:"Result format of benchmark results. Valid formats are 'table' or 'csv'."`
PrintQuery bool `name:"print-query" help:"Print the query executed before the results."`
}
Click to show internal directories.
Click to hide internal directories.