Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for evaluate (0.18 sec)

  1. internal/s3select/sql/evaluate.go

    func (e *ConditionOperand) evalNode(r Record, tableAlias string) (*Value, error) {
    	opVal, opErr := e.Operand.evalNode(r, tableAlias)
    	if opErr != nil || e.ConditionRHS == nil {
    		return opVal, opErr
    	}
    
    	// Need to evaluate the ConditionRHS
    	switch {
    	case e.ConditionRHS.Compare != nil:
    		cmpRight, cmpRErr := e.ConditionRHS.Compare.Operand.evalNode(r, tableAlias)
    		if cmpRErr != nil {
    			return nil, cmpRErr
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    
    	// 3. If an inline session-policy is present, evaluate it.
    	hasSessionPolicy, isAllowedSP := isAllowedBySessionPolicyForServiceAccount(args)
    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    	}
    
    	// Sub policy not set. Evaluate only the parent policies.
    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. internal/s3select/select.go

    		return nil
    	}
    
    	panic(fmt.Errorf("unknown output format '%v'", s3Select.Output.format))
    }
    
    // Evaluate - filters and sends records read from opened reader as per select statement to http response writer.
    func (s3Select *S3Select) Evaluate(w http.ResponseWriter) {
    	getProgressFunc := s3Select.getProgress
    	if !s3Select.Progress.Enabled {
    		getProgressFunc = nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  4. README.fips.md

    publish corresponding container images to our official image repositories.
    
    We are not making any statements or representations about the suitability of this code or build in relation to the FIPS 140-2 standard. Interested users will have to evaluate for themselves whether this is useful for their own purposes....
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 869 bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    			if len(testCase.withJSON) > 0 {
    				in = testCase.withJSON
    			}
    			if err = s3Select.Open(newStringRSC(in)); err != nil {
    				t.Fatal(err)
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. internal/s3select/message.go

    	// Exit conditions:
    	//
    	// 1. If a writer.write() returns false, select loop below exits and
    	// closes `doneCh` to indicate to caller to also exit.
    	//
    	// 2. If caller (Evaluate()) has an error, it sends an error
    	// message and waits for this go-routine to quit in
    	// FinishWithError()
    	//
    	// 3. If caller is done, it waits for this go-routine to exit
    	// in Finish()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		w.Header().Set(xhttp.AmzServerSideEncryptionCustomerKeyMD5, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    	}
    
    	s3Select.Evaluate(w)
    
    	// Notify object accessed via a GET request.
    	sendEvent(eventArgs{
    		EventName:    event.ObjectAccessedGet,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. internal/s3select/sql/jsonpath.go

    	errWildcardArrayLookup        = errors.New("Array wildcard used on non-array value")
    	errWildcardObjectUsageInvalid = errors.New("Invalid usage of object wildcard")
    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    					// opts.DeletePrefix is used only in the above lifecycle Expiration actions.
    				default:
    					// object has been modified since lifecycle action was previously evaluated
    					isErr = true
    				}
    				if isErr {
    					if goi.VersionID != "" {
    						return goi, VersionNotFound{
    							Bucket:    bucket,
    							Object:    object,
    							VersionID: goi.VersionID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. docs/compression/README.md

    Therefore, compression is disabled when encrypting by default, and must be enabled separately.
    
    Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if
    your setup can use this feature combination safely.
    
    To enable compression+encryption use:
    
    ```bash
    ~ mc admin config set myminio compression allow_encryption=on
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top