Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Lookup = &charm.Spec{
Name: "lookup",
Usage: "lookup -k key[,key...] index",
Short: "lookup a key in a Zed index file and print value as zng record",
Long: `
The "zed indexfile lookup" command locates the specified key(s) in the base layer of a
Zed index file and displays the result as a Zed record.
If the index has multiple keys, then multiple records may be returned for
all the records that match the supplied keys.
Each key argument specifies a value to look up in the table and must be parseable
as the zng type of the key that was originally indexed where the keys refer to the leaf
values in left-to-right order of the keys represented as a record, inclusive
of any nested records.`,
New: newLookupCommand,
}
Functions ¶
This section is empty.
Types ¶
type LookupCommand ¶
func (*LookupCommand) Run ¶
func (c *LookupCommand) Run(args []string) error
Click to show internal directories.
Click to hide internal directories.