Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for element (0.15 sec)

  1. internal/s3select/parquet/args.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package parquet
    
    import "encoding/xml"
    
    // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML.
    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  2. docs/sts/client-grants.md

    | *Type*        | *String*                                       |
    | *Valid Range* | *Minimum length of 1. Maximum length of 2048.* |
    | *Required*    | *No*                                           |
    
    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ### Errors
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  3. internal/s3select/json/args.go

    package json
    
    import (
    	"encoding/xml"
    	"fmt"
    	"strings"
    )
    
    const (
    	document = "document"
    	lines    = "lines"
    
    	defaultRecordDelimiter = "\n"
    )
    
    // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
    type ReaderArgs struct {
    	ContentType string `xml:"Type"`
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  4. cmd/event-notification.go

    		"x-minio-origin-endpoint": func() string {
    			if globalMinioEndpoint != "" {
    				return globalMinioEndpoint
    			}
    			return getAPIEndpoints()[0]
    		}(), // MinIO specific custom elements.
    	}
    
    	// Add deployment as part of response elements.
    	respElements["x-minio-deployment-id"] = globalDeploymentID()
    	if args.RespElements["content-length"] != "" {
    		respElements["content-length"] = args.RespElements["content-length"]
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/rule_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // TestInvalidRules checks if Rule xml with invalid elements returns
    // appropriate errors on validation
    func TestInvalidRules(t *testing.T) {
    	invalidTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Rule with ID longer than 255 characters
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. docs/sts/assume-role.md

    | *Type*        | *String*                                       |
    | *Valid Range* | *Minimum length of 1. Maximum length of 2048.* |
    | *Required*    | *No*                                           |
    
    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#API_AssumeRole_ResponseElements)
    
    ### Errors
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/filter_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // TestUnsupportedFilters checks if parsing Filter xml with
    // unsupported elements returns appropriate errors
    func TestUnsupportedFilters(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Filter with And tags
    			inputXML: ` <Filter>
    						<And>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. internal/s3select/sql/aggregation.go

    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *ListExpr) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.Elements {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *AndCondition) aggregateRow(r Record, tableAlias string) error {
    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)
  9. internal/s3select/sql/analysis.go

    	if e.Operand != nil {
    		result = e.Operand.analyze(s)
    	} else {
    		result = e.Not.analyze(s)
    	}
    	return
    }
    
    func (e *ListExpr) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Elements {
    		result.combine(ac.analyze(s))
    	}
    	return
    }
    
    func (e *ConditionOperand) analyze(s *Select) (result qProp) {
    	if e.ConditionRHS == nil {
    		result = e.Operand.analyze(s)
    	} else {
    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)
Back to top