de.akquinet.jbosscc.guttenbase.hints.impl.DefaultMaxNumberOfDataItemsHint Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.hints.impl;
import de.akquinet.jbosscc.guttenbase.hints.MaxNumberOfDataItemsHint;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
import de.akquinet.jbosscc.guttenbase.tools.MaxNumberOfDataItems;
/**
* Default maximum is 30000.
*
*
* © 2012 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DefaultMaxNumberOfDataItemsHint extends MaxNumberOfDataItemsHint {
@Override
public MaxNumberOfDataItems getValue() {
return new MaxNumberOfDataItems() {
@Override
public int getMaxNumberOfDataItems(TableMetaData targetTableMetaData) {
return 30000;
}
};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy