Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 969 for Selent (0.2 sec)

  1. clause/select.go

    package clause
    
    // Select select attrs when querying, updating, creating
    type Select struct {
    	Distinct   bool
    	Columns    []Column
    	Expression Expression
    }
    
    func (s Select) Name() string {
    	return "SELECT"
    }
    
    func (s Select) Build(builder Builder) {
    	if len(s.Columns) > 0 {
    		if s.Distinct {
    			builder.WriteString("DISTINCT ")
    		}
    
    		for idx, column := range s.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Jul 14 07:51:24 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  2. docs/select/select.py

            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
    Python
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Viewed (0)
  3. internal/event/event.go

    package event
    
    import (
    	"github.com/minio/madmin-go/v3"
    )
    
    const (
    	// NamespaceFormat - namespace log format used in some event targets.
    	NamespaceFormat = "namespace"
    
    	// AccessFormat - access log format used in some event targets.
    	AccessFormat = "access"
    
    	// AMZTimeFormat - event time format.
    	AMZTimeFormat = "2006-01-02T15:04:05.000Z"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    	s2Type     CompressionType = "S2"
    	snappyType CompressionType = "SNAPPY"
    )
    
    const (
    	maxRecordSize = 1 << 20 // 1 MiB
    )
    
    var parquetSupport bool
    
    func init() {
    	parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn
    }
    
    var bufPool = sync.Pool{
    	New: func() interface{} {
    		// make a buffer with a reasonable capacity.
    		return bytes.NewBuffer(make([]byte, 0, maxRecordSize))
    	},
    }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. internal/config/lambda/event/event.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 event
    
    import "net/http"
    
    // Identity represents access key who caused the event.
    type Identity struct {
    	Type        string `json:"type"`
    	PrincipalID string `json:"principalId"`
    	AccessKeyID string `json:"accessKeyId"`
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. clause/select_test.go

    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.From{}},
    			"SELECT `users`.`id` FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.Select{
    				Columns: []clause.Column{{Name: "name"}},
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:06:43 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    mango`,
    		},
    		{
    			name:  "Select column simplest",
    			query: `select qty from S3Object`,
    			wantResult: `1
    3`,
    		},
    		{
    			name:  "Select column with table name prefix",
    			query: `select S3Object.qty from S3Object`,
    			wantResult: `1
    3`,
    		},
    		{
    			name:  "Select column without table alias",
    			query: `select qty from S3Object s`,
    			wantResult: `1
    3`,
    		},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. internal/s3select/select_benchmark_test.go

    func BenchmarkSelectAll_10M(b *testing.B) {
    	benchmarkSelectAll(b, 10*humanize.MiByte)
    }
    
    func benchmarkSingleCol(b *testing.B, count int) {
    	benchmarkSelect(b, count, "select id from S3Object")
    }
    
    // BenchmarkSingleRow_100K - benchmark SELECT column function with 100k records.
    func BenchmarkSingleCol_100K(b *testing.B) {
    	benchmarkSingleCol(b, 1e5)
    }
    
    // BenchmarkSelectAll_1M - benchmark * function with 1m records.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 5K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/Event.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    internal data class Event(
      val id: String?,
      val type: String?,
      val data: String,
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 720 bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Event sent by maven during various phases of the build process.
     * Such events can be listened to using {@link Listener}s objects
     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top