Java Code Examples for mil.nga.geopackage.db.GeoPackageDataType#INTEGER

The following examples show how to use mil.nga.geopackage.db.GeoPackageDataType#INTEGER . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FeatureColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a new primary key column
 * 
 * @param index
 *            index
 * @param name
 *            name
 * @return feature column
 */
public static FeatureColumn createPrimaryKeyColumn(int index, String name) {
	return new FeatureColumn(index, name, GeoPackageDataType.INTEGER, null,
			true, null, true, null);
}
 
Example 2
Source File: AttributesColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a new primary key column
 * 
 * @param index
 *            index
 * @param name
 *            name
 * @return attributes column
 */
public static AttributesColumn createPrimaryKeyColumn(int index,
		String name) {
	return new AttributesColumn(index, name, GeoPackageDataType.INTEGER,
			null, true, null, true);
}
 
Example 3
Source File: UserCustomColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a new primary key column
 * 
 * @param index
 *            index
 * @param name
 *            name
 * @return user custom column
 */
public static UserCustomColumn createPrimaryKeyColumn(int index,
		String name) {
	return new UserCustomColumn(index, name, GeoPackageDataType.INTEGER,
			null, true, null, true);
}
 
Example 4
Source File: TileColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create an id column
 * 
 * @param index
 *            index
 * @return tile column
 */
public static TileColumn createIdColumn(int index) {
	return new TileColumn(index, TileTable.COLUMN_ID,
			GeoPackageDataType.INTEGER, null, false, null, true);
}
 
Example 5
Source File: TileColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a zoom level column
 * 
 * @param index
 *            index
 * @return tile column
 */
public static TileColumn createZoomLevelColumn(int index) {
	return new TileColumn(index, TileTable.COLUMN_ZOOM_LEVEL,
			GeoPackageDataType.INTEGER, null, true, null, false);
}
 
Example 6
Source File: TileColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a tile column column
 * 
 * @param index
 *            index
 * @return tile column
 */
public static TileColumn createTileColumnColumn(int index) {
	return new TileColumn(index, TileTable.COLUMN_TILE_COLUMN,
			GeoPackageDataType.INTEGER, null, true, null, false);
}
 
Example 7
Source File: TileColumn.java    From geopackage-core-java with MIT License 2 votes vote down vote up
/**
 * Create a tile row column
 * 
 * @param index
 *            index
 * @return tile column
 */
public static TileColumn createTileRowColumn(int index) {
	return new TileColumn(index, TileTable.COLUMN_TILE_ROW,
			GeoPackageDataType.INTEGER, null, true, null, false);
}