Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 113 for inserts (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * @see eu.maveniverse.domtrip.Editor
     * @see eu.maveniverse.domtrip.maven.PomEditor
     */
    public class DomUtils {
    
        private DomUtils() {
            // Utility class
        }
    
        /**
         * Inserts a new child element to the given parent element with proper Maven POM ordering.
         *
         * @param name the name of the new element
         * @param parent the parent element
         * @return the new element
         *
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                        }
                    });
    
        }
    
        /**
         * Inserts or updates a user in LDAP directory.
         *
         * @param user the user object to insert or update
         */
        public void insert(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
                return;
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 86.3K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    throw new CrawlingAccessException("[" + e.status() + "] Failed to insert " + id, e);
                }
                throw new OpenSearchAccessException("[" + e.status() + "] Failed to insert " + id, e);
            } catch (final Exception e) {
                throw new OpenSearchAccessException("Failed to insert " + id, e);
            }
        }
    
        /**
         * Inserts multiple documents into the OpenSearch index using bulk operations.
         *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Inserts a new character mapping item into the dictionary file.
         *
         * @param item the character mapping item to insert
         */
        @Override
        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/BadWordService.java

         * @return Optional entity containing the bad word if found.
         */
        public OptionalEntity<BadWord> getBadWord(final String id) {
            return badWordBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a bad word.
         * @param badWord The bad word to store.
         */
        public void store(final BadWord badWord) {
    
            badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         * @return an optional containing the item if found
         */
        public abstract OptionalEntity<T> get(long id);
    
        /**
         * Inserts a new dictionary item.
         *
         * @param item the item to insert
         */
        public abstract void insert(T item);
    
        /**
         * Updates an existing dictionary item.
         *
         * @param item the item to update
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/UserService.java

        public OptionalEntity<User> getUserByName(final String username) {
            return userBhv.selectEntity(cb -> {
                cb.query().setName_Equal(username);
            });
        }
    
        /**
         * Stores (inserts or updates) a user in the system.
         * Handles user authentication setup and database persistence.
         * If the surname is blank, it will be set to the user's name.
         *
         * @param user the user entity to store
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        /**
         * Inserts a URL queue entry into the OpenSearch index.
         *
         * @param urlQueue The URL queue entry to insert.
         */
        @Override
        public void insert(final OpenSearchUrlQueue urlQueue) {
            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         */
        public ReentrantLock newReentrantLock(E rank, boolean fair) {
          return policy == Policies.DISABLED
              ? new ReentrantLock(fair)
              // requireNonNull is safe because createNodes inserts an entry for every E.
              // (If the caller passes `null` for the `rank` parameter, this will throw, but that's OK.)
              : new CycleDetectingReentrantLock(requireNonNull(lockGraphNodes.get(rank)), fair);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  10. finisher_api.go

    	"gorm.io/gorm/utils"
    )
    
    // Create inserts value, returning the inserted data's primary key in value's id
    func (db *DB) Create(value interface{}) (tx *DB) {
    	if db.CreateBatchSize > 0 {
    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    	return tx.callbacks.Create().Execute(tx)
    }
    
    // CreateInBatches inserts value in batches of batchSize
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top