Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geomesa-users] Creating Attribute Indexes

This is probably a simple question and may be stupid.

We are programmatically creating SimpleFeatureTypes from our data structures
at run time.  Right now we are using SimpleFeatureTypeBuilder.

In the code we specify the geometry and date fields for that indexing.

We want to create an index on an attribute when we create that feature type.

I see where I can use the CLI add-attribute-index command to create such an
index. But in the usage text it states that it runs a mapreduce job to create the
index which implies that it can only be created after all data is ingested.

Is there a way to programmatically create an index when the FeatureType is created?



--
========= mailto:dboyd@xxxxxxxxxxxxxxxxx ============
David W. Boyd
VP,  Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office:   +1-703-552-2862
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org

The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited.  If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.



Back to the top