Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for INSERT (0.06 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                    20);
            assertEquals(3, itemList1.size());
    
            final KuromojiItem kuromojiItem1 = new KuromojiItem(0, "token4",
                    "seg4", "reading4", "pos4");
            kuromojiFile.insert(kuromojiItem1);
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(0,
                    20);
            assertEquals(4, itemList2.size());
            assertEquals("token4", itemList2.get(3).getToken());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tests/table_test.go

    	}
    
    	r = dryDB.Create(&UserWithTable{}).Statement
    	if DB.Dialector.Name() != "sqlite" {
    		if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	} else {
    		if !regexp.MustCompile(`INSERT INTO .user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.UrlQueueService#insert(org.codelibs.fess.crawler.entity
         * .UrlQueue)
         */
        @Override
        public void insert(final UrlQueueImpl<Long> urlQueue) {
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(urlQueue.getSessionId());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top