com.samskivert.depot.impl.QueryResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of depot Show documentation
Show all versions of depot Show documentation
A library for relational-database-based persistence in Java.
The newest version!
//
// Depot library - a Java relational persistence library
// https://github.com/threerings/depot/blob/master/LICENSE
package com.samskivert.depot.impl;
import java.io.Serializable;
/**
* A base class for all query results (persistent records, or subsets of persistent records in the
* form of tuples of varying arity).
*/
public abstract class QueryResult
implements Serializable, Cloneable
{
@Override
public QueryResult clone ()
{
try {
return (QueryResult) super.clone();
} catch (CloneNotSupportedException cnse) {
throw new AssertionError(cnse); // this should never happen since we are Cloneable
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy