Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for keyString (0.1 sec)

  1. internal/s3select/sql/jsonpath.go

    	// fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v)
    	if len(p) == 0 || v == nil {
    		return v, false, nil
    	}
    
    	switch {
    	case p[0].Key != nil:
    		key := p[0].Key.keyString()
    
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			for _, kv := range kvs {
    				if kv.Key == key {
    					return jsonpathEval(p[1:], kv.Value)
    				}
    			}
    			// Key not found - return nil result
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    			return nil, err
    		}
    
    		return jsonToValue(result)
    	default:
    		if pathExpr[len(pathExpr)-1].Key == nil {
    			return nil, errInvalidKeypath
    		}
    		return r.Get(pathExpr[len(pathExpr)-1].Key.keyString())
    	}
    }
    
    // jsonToValue will convert the json value to an internal value.
    func jsonToValue(result interface{}) (*Value, error) {
    	switch rval := result.(type) {
    	case string:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. .gitignore

    .gradle
    /build
    /*/build
    /*/*/build
    /*/*/*/build
    /*/*/*/*/build
    /*/docs/src/samples/**/build
    /*/docs/src/snippets/**/build
    /*/internal-android-performance-testing/build-android-libs
    test-splits/
    /gradle/verification-keyring.gpg
    
    # Kotlin
    # ------
    .kotlin
    
    # IDEA
    # ----
    !/.idea
    /.idea/*
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 09:50:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. pom.xml

    					<controlDir>${project.build.directory}/generated-packaging/deb/scripts</controlDir>
    					<!--
    					<signPackage>${deb.sign}</signPackage>
    					<keyring>${gpg.keyring}</keyring>
    					key>${gpg.key}</key>
    					<passphrase>${gpg.passphrase}</passphrase>
    					<signMethod>${deb.sign.method}</signMethod>
    					-->
    					<dataSet>
    						<!-- Add app directory -->
    						<data>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top