All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.akquinet.jbosscc.guttenbase.hints.impl.DefaultNumberOfRowsPerBatchHint Maven / Gradle / Ivy

The newest version!
package de.akquinet.jbosscc.guttenbase.hints.impl;

import de.akquinet.jbosscc.guttenbase.hints.NumberOfRowsPerBatchHint;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
import de.akquinet.jbosscc.guttenbase.tools.NumberOfRowsPerBatch;

/**
 * Default number of VALUES clauses is 2000.
 *
 * 

* © 2012-2034 akquinet tech@spree *

* * @author M. Dahm */ public class DefaultNumberOfRowsPerBatchHint extends NumberOfRowsPerBatchHint { @Override public NumberOfRowsPerBatch getValue() { return new NumberOfRowsPerBatch() { @Override public int getNumberOfRowsPerBatch(TableMetaData targetTableMetaData) { return 2000; } @Override public boolean useMultipleValuesClauses(TableMetaData targetTableMetaData) { return true; } }; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy