Tabnine Logo
AttributesColumn.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mil.nga.geopackage.attributes.AttributesColumn
constructor

Best Java code snippets using mil.nga.geopackage.attributes.AttributesColumn.<init> (Showing top 4 results out of 315)

origin: mil.nga.geopackage/geopackage-core

/**
 * 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);
}
origin: mil.nga.geopackage/geopackage-core

/**
 * Create a new column
 * 
 * @param index
 *            index
 * @param name
 *            name
 * @param type
 *            data type
 * @param max
 *            max value
 * @param notNull
 *            not null flag
 * @param defaultValue
 *            default value
 * @return attributes column
 */
public static AttributesColumn createColumn(int index, String name,
    GeoPackageDataType type, Long max, boolean notNull,
    Object defaultValue) {
  return new AttributesColumn(index, name, type, max, notNull,
      defaultValue, false);
}
origin: ngageoint/geopackage-java

/**
 * {@inheritDoc}
 */
@Override
protected AttributesColumn createColumn(AttributesResultSet result,
    int index, String name, String type, Long max, boolean notNull,
    int defaultValueIndex, boolean primaryKey) {
  GeoPackageDataType dataType = getDataType(type);
  Object defaultValue = result.getValue(defaultValueIndex, dataType);
  AttributesColumn column = new AttributesColumn(index, name, dataType,
      max, notNull, defaultValue, primaryKey);
  return column;
}
origin: ngageoint/geopackage-android

/**
 * {@inheritDoc}
 */
@Override
protected AttributesColumn createColumn(AttributesCursor cursor,
                    int index, String name, String type, Long max, boolean notNull,
                    int defaultValueIndex, boolean primaryKey) {
  GeoPackageDataType dataType = getDataType(type);
  Object defaultValue = cursor.getValue(defaultValueIndex, dataType);
  AttributesColumn column = new AttributesColumn(index, name, dataType,
      max, notNull, defaultValue, primaryKey);
  return column;
}
mil.nga.geopackage.attributesAttributesColumn<init>

Javadoc

Constructor

Popular methods of AttributesColumn

  • createColumn
    Create a new column
  • createPrimaryKeyColumn
    Create a new primary key column
  • getDataType
  • getIndex
  • getMax
  • getName
  • isNotNull
  • isPrimaryKey

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now