Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Sets (0.21 sec)

  1. internal/s3select/simdj/record.go

    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/simdjson-go"
    )
    
    // Record - is JSON record.
    type Record struct {
    	// object
    	object simdjson.Object
    }
    
    // Get - gets the value for a column name.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	elem := r.object.FindKey(name, nil)
    	if elem == nil {
    		return nil, nil
    	}
    	return iterToValue(elem.Iter)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. internal/s3select/csv/record.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Record - is a CSV record.
    type Record struct {
    	columnNames  []string
    	csvRecord    []string
    	nameIndexMap map[string]int64
    }
    
    // Get - gets the value for a column name. CSV fields do not have any
    // defined type (other than the default string). So this function
    // always returns fields using sql.FromBytes so that the type
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  3. internal/s3select/json/record.go

    	return b, nil
    }
    
    // Record - is JSON record.
    type Record struct {
    	// Used in Set(), Marshal*()
    	KVS jstream.KVS
    
    	SelectFormat sql.SelectObjectFormat
    }
    
    // Get - gets the value for a column name.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	// Get is implemented directly in the sql package.
    	return nil, errors.New("not implemented here")
    }
    
    // Reset the record.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top