Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for INSERT (0.1 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        @Override
        public void insert(final OpenSearchUrlQueue urlQueue) {
            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
            } catch (final OpenSearchAccessException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            while (enclosingElement instanceof TypeElement) {
                className.insert(0, "$").insert(0, ((TypeElement) enclosingElement).getSimpleName());
                enclosingElement = enclosingElement.getEnclosingElement();
            }
    
            if (enclosingElement instanceof PackageElement) {
                className.insert(0, ".").insert(0, ((PackageElement) enclosingElement).getQualifiedName());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueueService.insert(urlQueue);
    
            final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue();
            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
            urlQueue2.setUrl("http://www.id2.com/");
    
            urlQueueService.insert(urlQueue2);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. tests/scanner_valuer_test.go

    	if stmt.SQL.String() == "" || len(stmt.Vars) != 2 {
    		t.Errorf("Failed to generate sql, got %v", stmt.SQL.String())
    	}
    
    	if !regexp.MustCompile(`INSERT INTO .user_with_points. \(.name.,.point.\) VALUES \(.+,ST_PointFromText\(.+\)\)`).MatchString(stmt.SQL.String()) {
    		t.Errorf("insert with sql.Expr, but got %v", stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            user.setRoles(roleList.toArray(new String[roleList.size()]));
                        }
                    });
    
        }
    
        public void insert(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
                return;
            }
    
            final Supplier<Hashtable<String, String>> adminEnv = this::createAdminEnv;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

        if (oldEntryForKey != null) {
          delete(oldEntryForKey);
          insert(newEntry, oldEntryForKey);
          oldEntryForKey.prevInKeyInsertionOrder = null;
          oldEntryForKey.nextInKeyInsertionOrder = null;
          return oldEntryForKey.value;
        } else {
          insert(newEntry, null);
          rehashIfNecessary();
          return null;
        }
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * of this queue less the current {@code size} of this queue.
       *
       * <p>Note that you cannot always tell if an attempt to insert an element will succeed by
       * inspecting {@code remainingCapacity} because it may be the case that another thread is about to
       * insert or remove an element.
       */
      @CanIgnoreReturnValue
      @Override
      public int remainingCapacity() {
        final Monitor monitor = this.monitor;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. tests/connpool_test.go

    	conn := &wrapperConnPool{
    		db: nativeDB,
    		expect: []string{
    			"SELECT VERSION()",
    			"INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
    			"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.go

    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    	psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);`
    )
    
    // Postgres constants
    const (
    	PostgresFormat             = "format"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. internal/event/target/mysql.go

                                        ROW_FORMAT = Dynamic;`
    
    	mysqlUpdateRow = `INSERT INTO %s (key_name, value) VALUES (?, ?) ON DUPLICATE KEY UPDATE value=VALUES(value);`
    	mysqlDeleteRow = `DELETE FROM %s WHERE key_hash = SHA2(?, 256);`
    	mysqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES (?, ?);`
    )
    
    // MySQL related constants
    const (
    	MySQLFormat             = "format"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top