Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nameIndexMap (0.1 sec)

  1. internal/s3select/csv/reader.go

    		}
    	}
    
    	// If no index map, add that.
    	if r.nameIndexMap == nil {
    		r.nameIndexMap = make(map[string]int64)
    		for i := range r.columnNames {
    			r.nameIndexMap[r.columnNames[i]] = int64(i)
    		}
    	}
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.columnNames = r.columnNames
    	dstRec.csvRecord = csvRecord
    	dstRec.nameIndexMap = r.nameIndexMap
    
    	return dstRec, nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. internal/s3select/csv/record.go

    	"github.com/minio/minio/internal/s3select/jstream"
    	"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
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top