Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor handles batch mode execution
func NewExecutor ¶
NewExecutor creates a new batch executor
func (*Executor) ExecuteFile ¶
ExecuteFile executes CQL from a file
func (*Executor) ExecuteStdin ¶
ExecuteStdin executes CQL from stdin
type Options ¶
type Options struct {
Execute string // CQL to execute directly (-e flag)
File string // CQL file to execute (-f flag)
Format OutputFormat // Output format
NoHeader bool // Skip headers in output
FieldSep string // Field separator for CSV
NoPager bool // Disable paging (print all results)
PageSize int // Number of rows per batch for streaming
ConnOptions ui.ConnectionOptions
}
Options contains batch execution options
type OutputFormat ¶
type OutputFormat string
OutputFormat represents the output format for batch mode
const ( OutputFormatASCII OutputFormat = "ascii" OutputFormatJSON OutputFormat = "json" OutputFormatCSV OutputFormat = "csv" OutputFormatTable OutputFormat = "table" // Default table format )
Click to show internal directories.
Click to hide internal directories.