Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Main ¶
type Main struct { Bucket string `help:"S3 bucket name from which to read objects."` Prefix string `help:"Only objects in the bucket matching this prefix will be used."` Region string `help:"AWS region to use."` PilosaHosts []string `help:"Comma separated list of Pilosa hosts and ports."` Index string `help:"Pilosa index."` BatchSize uint `help:"Batch size for Pilosa imports (latency/throughput tradeoff)."` Framer pdk.DashField SubjectAt string `help:"Tells the S3 source to add a unique 'subject' key to each record which is the s3 object key + record number."` SubjectPath []string `help:"Path to value in each record that should be mapped to column ID. Blank gets a sequential ID."` Proxy string `help:"Bind to this address to proxy and translate requests to Pilosa"` }
Main contains the configuration for an ingester with an S3 Source.
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source is a pdk.Source which reads data from S3.
type SrcOption ¶
type SrcOption func(s *Source)
SrcOption is a functional option type for s3.Source.
func OptSrcBucket ¶
OptSrcBucket is a SrcOption which sets the S3 bucket for a Source.
func OptSrcBufSize ¶
OptSrcBufSize sets the number of records to buffer while waiting for Record to be called.
func OptSrcPrefix ¶
OptSrcPrefix tells the source to list only the objects in the bucket that match the specified prefix.
func OptSrcRegion ¶
OptSrcRegion is a SrcOption which sets the AWS region for a Source.
func OptSrcSubjectAt ¶
OptSrcSubjectAt tells the source to add a new key to each record whose value will be <S3 bucket>.<S3 object key>#<record number>.
Click to show internal directories.
Click to hide internal directories.