// SetIndex sets the cursor's file index to index by opening a file at this
// position.
502352
func (gr *GroupReader) SetIndex(index int) error {
	gr.mtx.Lock()
	defer gr.mtx.Unlock()
	return gr.openFile(index)
}
1322380
func (s *GlobalSecondaryIndexDescription) SetIndexName(v string) *GlobalSecondaryIndexDescription {
	s.IndexName = &v
	return s
}
785511
func (s *UpdateGlobalSecondaryIndexAction) SetIndexName(v string) *UpdateGlobalSecondaryIndexAction {
	s.IndexName = &v
	return s
}
665541
func (s *BatchReadOperation) SetListIndex(v *BatchListIndex) *BatchReadOperation {
	s.ListIndex = v
	return s
}
410178
func (s *DescribeIndexInput) SetIndexName(v string) *DescribeIndexInput {
	s.IndexName = &v
	return s
}
388397
func (s *LocalSecondaryIndexDescription) SetIndexArn(v string) *LocalSecondaryIndexDescription {
	s.IndexArn = &v
	return s
}
81183
func (conf *IndexWriterConfig) setIndexWriter(writer *IndexWriter) *IndexWriterConfig {
	conf.writer.Set(writer)
	return conf
}
262786
func (s *Point) SetX(v float64) *Point {
	s.X = &v
	return s
}
774432
func (s *Rectangle) SetX(v int64) *Rectangle {
	s.X = &v
	return s
}
634219
func (s *CreateGlobalSecondaryIndexAction) SetIndexName(v string) *CreateGlobalSecondaryIndexAction {
	s.IndexName = &v
	return s
}
838454
func (s *GlobalSecondaryIndexInfo) SetIndexName(v string) *GlobalSecondaryIndexInfo {
	s.IndexName = &v
	return s
}
879415
func (s *NodeDetails) SetNodeIndex(v int64) *NodeDetails {
	s.NodeIndex = &v
	return s
}
715210
func (s *DeleteGlobalSecondaryIndexAction) SetIndexName(v string) *DeleteGlobalSecondaryIndexAction {
	s.IndexName = &v
	return s
}
761922
func (s *ScanInput) SetIndexName(v string) *ScanInput {
	s.IndexName = &v
	return s
}
939850
func (idx *IndexMap) SetIndexType(indtype string) *IndexMap {
	idx.IndexType = indtype
	return idx
}
1179496
func (c *Client) SetEx(key string, seconds int64, value interface{}) (ret string, err error) {
	err = c.command(
		&ret,
		[]byte("SETEX"),
		[]byte(key),
		to.Bytes(seconds),
		to.Bytes(value),
	)
	return
}
919691
func (s *BatchDetectSyntaxItemResult) SetIndex(v int64) *BatchDetectSyntaxItemResult {
	s.Index = &v
	return s
}