congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SimpleFeatureUserDataConfigurationSet
Code IndexAdd Tabnine to your IDE (free)

How to use
SimpleFeatureUserDataConfigurationSet
in
org.locationtech.geowave.adapter.vector.util

Best Java code snippets using org.locationtech.geowave.adapter.vector.util.SimpleFeatureUserDataConfigurationSet (Showing top 13 results out of 315)

origin: locationtech/geowave

@Override
protected SimpleFeatureType[] getTypes() {
 return new SimpleFeatureType[] {
   SimpleFeatureUserDataConfigurationSet.configureType(tdrivepointType)};
}
origin: locationtech/geowave

/**
 * Add the passed in configuration to the list of configurations for the specified type name
 *
 * @param typeName - name of type which will get an added configuration
 * @param config - configuration to be added
 */
public void addConfigurations(String typeName, final SimpleFeatureUserDataConfiguration config) {
 getConfigurationsForType(typeName).add(config);
}
origin: locationtech/geowave

  new SimpleFeatureUserDataConfigurationSet();
userDataConfiguration.addConfigurations(typeName, new TimeDescriptorConfiguration(myType));
userDataConfiguration.addConfigurations(
  typeName,
  new SimpleFeatureStatsConfigurationCollection(myType));
userDataConfiguration.addConfigurations(typeName, new VisibilityConfiguration(myType));
userDataConfiguration.fromBinary(attrBytes);
userDataConfiguration.updateType(myType);
setFeatureType(myType);
initCRS(indexCrsBytes.length > 0 ? StringUtils.stringFromBinary(indexCrsBytes) : null);
origin: locationtech/geowave

  new SimpleFeatureUserDataConfigurationSet();
userDataConfiguration.addConfigurations(
  typeName,
  new TimeDescriptorConfiguration(persistedFeatureType));
userDataConfiguration.addConfigurations(
  typeName,
  new SimpleFeatureStatsConfigurationCollection(persistedFeatureType));
userDataConfiguration.addConfigurations(
  typeName,
  new VisibilityConfiguration(persistedFeatureType));
final byte[] attrBytes = userDataConfiguration.toBinary();
final String namespace = reprojectedFeatureType.getName().getNamespaceURI();
origin: locationtech/geowave

/**
 * Constructor<br> Creates a new SimpleFeatureUserDataConfigurationSet configured using the passed
 * in SimpleFeature type and adding the passed in configurations. Will be accessed using the type
 * name.
 *
 * @param type
 * @param configurations
 */
public SimpleFeatureUserDataConfigurationSet(
  final SimpleFeatureType type,
  final List<SimpleFeatureUserDataConfiguration> configurations) {
 super();
 getConfigurationsForType(type.getTypeName()).addAll(configurations);
 configureFromType(type);
}
origin: locationtech/geowave

@Override
protected SimpleFeatureType[] getTypes() {
 return new SimpleFeatureType[] {
   SimpleFeatureUserDataConfigurationSet.configureType(geolifePointType),
   SimpleFeatureUserDataConfigurationSet.configureType(geolifeTrackType)};
}
origin: locationtech/geowave

/**
 * Constructor<br> Creates a new SimpleFeatureUserDataConfigurationSet configured using the passed
 * in SimpleFeature type. Will be accessed using the type name.
 *
 * @param type - SFT to be configured
 */
public SimpleFeatureUserDataConfigurationSet(final SimpleFeatureType type) {
 List<SimpleFeatureUserDataConfiguration> sfudc = getConfigurationsForType(type.getTypeName());
 for (final SimpleFeatureUserDataConfiguration configuration : sfudc) {
  configuration.configureFromType(type);
 }
}
origin: locationtech/geowave

@Override
protected SimpleFeatureType[] getTypes() {
 return new SimpleFeatureType[] {
   SimpleFeatureUserDataConfigurationSet.configureType(GPXConsumer.pointType),
   SimpleFeatureUserDataConfigurationSet.configureType(GPXConsumer.waypointType),
   SimpleFeatureUserDataConfigurationSet.configureType(GPXConsumer.trackType),
   SimpleFeatureUserDataConfigurationSet.configureType(GPXConsumer.routeType)};
}
origin: locationtech/geowave

/**
 * Updates the SFT with the entire list of SimpleFeatureUserDataConfiguration(s)
 *
 * @param type - SF type to be updated
 */
public void updateType(final SimpleFeatureType type) {
 List<SimpleFeatureUserDataConfiguration> sfudc = getConfigurationsForType(type.getTypeName());
 // Go through list of SFUD configurations and update each one in the
 // passed in SF type
 for (final SimpleFeatureUserDataConfiguration configuration : sfudc) {
  configuration.updateType(type);
 }
}
origin: locationtech/geowave

@Override
protected SimpleFeatureType[] getTypes() {
 return new SimpleFeatureType[] {
   SimpleFeatureUserDataConfigurationSet.configureType(gdeltEventType)};
}
origin: locationtech/geowave

/**
 * Updates the entire list of SimpleFeatureUserDataConfiguration(s) with information from the
 * passed in SF type
 *
 * @param type - SF type to be updated
 */
public void configureFromType(final SimpleFeatureType type) {
 List<SimpleFeatureUserDataConfiguration> sfudc = getConfigurationsForType(type.getTypeName());
 // Go through list of SFUD configurations and update each one with
 // information from the
 // passed in SF type
 for (final SimpleFeatureUserDataConfiguration configuration : sfudc) {
  configuration.configureFromType(type);
 }
}
origin: locationtech/geowave

@Override
protected SimpleFeatureType[] getTypes() {
 return new SimpleFeatureType[] {
   SimpleFeatureUserDataConfigurationSet.configureType(twitterSft)};
}
origin: locationtech/geowave

public InternalIterator(
  final SimpleFeatureCollection featureCollection,
  final String visibility,
  final Filter filter) {
 this.filter = filter;
 featureIterator = featureCollection.features();
 final SimpleFeatureType originalSchema = featureCollection.getSchema();
 SimpleFeatureType retypedSchema =
   SimpleFeatureUserDataConfigurationSet.configureType(originalSchema);
 if (retypingPlugin != null) {
  source = retypingPlugin.getRetypingSource(originalSchema);
  if (source != null) {
   retypedSchema = source.getRetypedSimpleFeatureType();
   builder = new SimpleFeatureBuilder(retypedSchema);
  }
 }
 if ((visibility == null) || visibility.isEmpty()) {
  dataAdapter = new FeatureDataAdapter(retypedSchema);
 } else {
  dataAdapter =
    new FeatureDataAdapter(
      retypedSchema,
      new GlobalVisibilityHandler<SimpleFeature, Object>(visibility));
 }
}
org.locationtech.geowave.adapter.vector.utilSimpleFeatureUserDataConfigurationSet

Javadoc

Represents a set of configurations maintained within the user data of a simple feature type and is tracked by the type name.

Most used methods

  • configureType
    Method that reads user data configuration information from #SIMPLE_FEATURE_CONFIG_FILE_PROP and upda
  • <init>
    Constructor Creates a new SimpleFeatureUserDataConfigurationSet configured using the passed in Simpl
  • addConfigurations
    Add the passed in configuration to the list of configurations for the specified type name
  • configureFromType
    Updates the entire list of SimpleFeatureUserDataConfiguration(s) with information from the passed in
  • fromBinary
  • getConfigurationsForType
    Gets a List of all the SimpleFeatureUserDataConfigurations for the SFT specified by the 'typeName' s
  • toBinary
  • updateType
    Updates the SFT with the entire list of SimpleFeatureUserDataConfiguration(s)

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Permission (java.security)
    Legacy security code; do not use.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JPanel (javax.swing)
  • Top PhpStorm plugins
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