io.ifar.skidroad.jdbi.JDBILogFileDAOWithArraySupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skid-road-jdbi Show documentation
Show all versions of skid-road-jdbi Show documentation
Provides JDBI-based LogFileTracker implementation
package io.ifar.skidroad.jdbi;
import io.ifar.skidroad.LogFile;
import org.joda.time.DateTime;
import org.skife.jdbi.v2.ResultIterator;
import java.util.Set;
/**
* Extend JDBILogFileDAO for more efficient queries against Databases such as Postgres that have array support.
*/
public interface JDBILogFileDAOWithArraySupport extends JDBILogFileDAO {
ResultIterator findByOwnerAndState(String ownerUri, Set states);
Long totalSize(Set states, DateTime startDate, DateTime endDate);
int count(Set states);
int count(Set states, DateTime startDate, DateTime endDate);
ResultIterator listLogFilesByDateAndState(Set state, DateTime startDate, DateTime endDate);
void close();
ResultIterator listLogFilesByOwnerAndDateAndState(Set states, String s, DateTime startDate, DateTime endDate);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy