Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Primary (0.26 sec)

  1. internal/event/target/postgresql.go

    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const (
    	psqlTableExists          = `SELECT 1 FROM %s;`
    	psqlCreateNamespaceTable = `CREATE TABLE %s (key VARCHAR PRIMARY KEY, value JSONB);`
    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    	ListExpr  *ListExpr `parser:"| @@"`
    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    // multOp  → unary ( ("/" | "*" | "%") unary )*
    // unary   → "-" unary | primary
    // primary → Value | Variable | "(" expression ")"
    //
    
    // An Operand is a single term followed by an optional sequence of
    // terms separated by +/-
    type Operand struct {
    	Left  *MultOp     `parser:"@@"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/statement.go

    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary.JPathExpr != nil {
    		if selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary.JPathExpr.String() == selectAST.From.As+".*" {
    			selectAST.Expression.All = true
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/evaluate.go

    		if err != nil {
    			return nil, err
    		}
    	}
    	return lval, nil
    }
    
    func (e *UnaryTerm) evalNode(r Record, tableAlias string) (*Value, error) {
    	if e.Negated == nil {
    		return e.Primary.evalNode(r, tableAlias)
    	}
    
    	v, err := e.Negated.Term.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    
    	inferTypeForArithOp(v)
    	v.negate()
    	if v.isNumeric() {
    		return v, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. internal/s3select/sql/aggregation.go

    			return err
    		}
    	}
    	return nil
    }
    
    func (e *UnaryTerm) aggregateRow(r Record, tableAlias string) error {
    	if e.Negated != nil {
    		return e.Negated.Term.aggregateRow(r, tableAlias)
    	}
    	return e.Primary.aggregateRow(r, tableAlias)
    }
    
    func (e *PrimaryTerm) aggregateRow(r Record, tableAlias string) error {
    	switch {
    	case e.ListExpr != nil:
    		return e.ListExpr.aggregateRow(r, tableAlias)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/analysis.go

    		result.combine(r.Right.analyze(s))
    	}
    	return
    }
    
    func (e *UnaryTerm) analyze(s *Select) (result qProp) {
    	if e.Negated != nil {
    		result = e.Negated.Term.analyze(s)
    	} else {
    		result = e.Primary.analyze(s)
    	}
    	return
    }
    
    func (e *PrimaryTerm) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Value != nil:
    		result = qProp{}
    
    	case e.JPathExpr != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	// set of byte data for PutObject.
    	// object has to be created before running tests for HeadObject.
    	// this is required even to assert the HeadObject data,
    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    		{generateBytesData(6 * humanize.MiByte)},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top