Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidParam is an internal error used in case an input parameter was invalid. ErrInvalidParam = errors.New("invalid parameter") // ErrMutuallyExclusiveConfigs is an internal error used in case both a batch client config and storage client config // are defined in a single StreamerConfig. As this is an ambigious situation we've chosen to fail on it instead. ErrMutuallyExclusiveConfigs = errors.New("you cannot define both a storage Client and a batch client at once") // ErrAutoDetectSchemaNotSupported is an internal error used in case a batch client config was defined with a data format // other than Json or CSV, yet no bigquery Schema defined. This makes auto-detection impossible according to our knowledge, // and thus we fail early. ErrAutoDetectSchemaNotSupported = errors.New("BQ batch client: autoDetect is only supported for JSON and CSV format") // ErrProtobufOrSChemaRequired is an error used in case a Storage client config was created with no protobuf descriptor // or bigquery schema defined, making it impossible for the internal storage client to know how to encode the data. ErrProtobufOrSChemaRequired = errors.New("StorageClientConfig invalid: either a Protobuf descriptor or BigQuery schema is required") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.