Licence normalisation
Move top level comment to the usual 'after imports' section
* and limitations under the License.
*/
-//
-// The metadata for an index is represented in the database table as follows:
-//
-// index_name | index_type | field_name | last_sequence
-// -----------------------------------------------------------
-// name | json | _id | 0
-// name | json | _rev | 0
-// name | json | firstName | 0
-// name | json | lastName | 0
-// age | json | age | 0
-//
-// The index itself is a single table, with a column for docId and each of the indexed fields:
-//
-// _id | _rev | firstName | lastName
-// --------------------------------------------------------
-// miker | 1-blah | Mike | Rhodes
-// johna | 3-blob | John | Appleseed
-// joeb | 2-blip | Joe | Bloggs
-//
-// There is a single SQLite index created on all columns of this table.
-//
-// N.b.: _id and _rev are automatically added to all indexes to allow them to be used to
-// project DocumentRevisions without the need to load a document from the datastore.
-
package com.cloudant.sync.internal.query;
import com.cloudant.sync.documentstore.Database;
@@ -72,6 +48,30 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Pattern;
+//
+// The metadata for an index is represented in the database table as follows:
+//
+// index_name | index_type | field_name | last_sequence
+// -----------------------------------------------------------
+// name | json | _id | 0
+// name | json | _rev | 0
+// name | json | firstName | 0
+// name | json | lastName | 0
+// age | json | age | 0
+//
+// The index itself is a single table, with a column for docId and each of the indexed fields:
+//
+// _id | _rev | firstName | lastName
+// --------------------------------------------------------
+// miker | 1-blah | Mike | Rhodes
+// johna | 3-blob | John | Appleseed
+// joeb | 2-blip | Joe | Bloggs
+//
+// There is a single SQLite index created on all columns of this table.
+//
+// N.b.: _id and _rev are automatically added to all indexes to allow them to be used to
+// project DocumentRevisions without the need to load a document from the datastore.
+
/**
* Main interface to Cloudant query.
*
