nz.co.gregs.dbvolution.DBQueryRow Maven / Gradle / Ivy
/*
* Copyright 2013 Gregory Graham.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nz.co.gregs.dbvolution;
import nz.co.gregs.dbvolution.datatypes.QueryableDatatype;
import java.io.PrintStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import nz.co.gregs.dbvolution.internal.query.QueryDetails;
/**
* Contains all the instances of DBRow that are associated with one line of a
* DBQuery request.
*
*
* DBQueryRow represents an individual line within the results of a query.
* However the results within the line are contained in instances of all the
* DBRow subclasses included in the DBQuery.
*
*
* Each instance is accessible thru the
* {@link #get(nz.co.gregs.dbvolution.DBRow) get(DBRow) method}.
*
*
Support DBvolution at
* Patreon
*
* @author Gregory Graham
*
*/
public class DBQueryRow extends HashMap, DBRow> {
private static final long serialVersionUID = 1;
private final Map