Modifier and Type | Method and Description |
---|---|
Attribute |
AppSchemaFeatureFactoryImpl.createAttribute(Object value,
AttributeDescriptor descriptor,
String id)
Create an attribute, even for null id.
|
ComplexAttribute |
AppSchemaFeatureFactoryImpl.createComplexAttribute(Collection value,
AttributeDescriptor descriptor,
String id)
Create a new complex attribute, even for null value or id.
|
Feature |
AppSchemaFeatureFactoryImpl.createFeature(Collection value,
AttributeDescriptor descriptor,
String id)
Create a new feature, even for null value or id.
|
Modifier and Type | Field and Description |
---|---|
static AttributeDescriptor |
SampleDataAccessData.SHAPE_DESCRIPTOR |
static AttributeDescriptor |
SampleDataAccessData.SPECIFICATION_DESCRIPTOR |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
JoiningAttributeWriter.getAttributeType(int i) |
AttributeDescriptor |
JoiningAttributeReader.getAttributeType(int i) |
AttributeDescriptor |
AttributeWriter.getAttributeType(int i)
Retrieve the AttributeType at the given index.
|
AttributeDescriptor |
AttributeReader.getAttributeType(int index)
Retrieve the AttributeType at the given index.
|
protected AttributeDescriptor[] |
ReTypeFeatureReader.typeAttributes(SimpleFeatureType target,
SimpleFeatureType origional)
Supplies mapping from original to target FeatureType.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DataUtilities.isMatch(AttributeDescriptor a,
AttributeDescriptor b)
Quickly check if two descriptors are at all compatible.
|
static boolean |
DataUtilities.isMatch(AttributeDescriptor a,
AttributeDescriptor b,
boolean strict)
Quickly check descriptors compatibility.
|
Modifier and Type | Field and Description |
---|---|
protected AttributeDescriptor |
DataAccessMappingFeatureIterator.targetFeature |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
MappingFeatureSource.getTargetFeature() |
AttributeDescriptor |
FeatureTypeMapping.getTargetFeature() |
Modifier and Type | Method and Description |
---|---|
static FeatureTypeMapping |
FeatureTypeMappingFactory.getInstance(FeatureSource<? extends FeatureType,? extends Feature> source,
FeatureSource<SimpleFeatureType,SimpleFeature> indexSource,
AttributeDescriptor target,
String defaultGeometryXPath,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
String itemXpath,
boolean isXmlDataStore,
boolean isDenormalised) |
static FeatureTypeMapping |
FeatureTypeMappingFactory.getInstance(FeatureSource<? extends FeatureType,? extends Feature> source,
FeatureSource<SimpleFeatureType,SimpleFeature> indexSource,
AttributeDescriptor target,
String defaultGeometryXPath,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
String itemXpath,
boolean isXmlDataStore,
boolean isDenormalised,
String sourceDatastoreId) |
void |
FeatureTypeMapping.setTargetFeature(AttributeDescriptor feature)
Has to be called after
#setTargetType(FeatureType) |
Constructor and Description |
---|
FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
AttributeDescriptor target,
List<AttributeMapping> mappings,
NamespaceSupport namespaces) |
FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
AttributeDescriptor target,
String defaultGeometryXPath,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
boolean isDenormalised) |
FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
FeatureSource<SimpleFeatureType,SimpleFeature> indexSource,
AttributeDescriptor target,
String defaultGeometryXPath,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
boolean isDenormalised) |
XmlFeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
AttributeDescriptor target,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
String itemXpath) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
FeatureTypeRegistry.getDescriptor(Name descriptorName,
CoordinateReferenceSystem crs) |
Modifier and Type | Method and Description |
---|---|
boolean |
XPath.isComplexType(XPathUtil.StepList attrXPath,
AttributeDescriptor featureType) |
Attribute |
XPath.set(Attribute att,
XPathUtil.StepList xpath,
Object value,
String id,
AttributeType targetNodeType,
boolean isXlinkRef,
AttributeDescriptor targetDescriptor,
Expression sourceExpression) |
Modifier and Type | Method and Description |
---|---|
static XPathUtil.StepList |
XPathUtil.rootElementSteps(AttributeDescriptor rootElement,
NamespaceSupport namespaces)
Returns the list of steps in an x-path expression that represents the root element.
|
static XPathUtil.StepList |
XPathUtil.steps(AttributeDescriptor root,
String xpathExpression,
NamespaceSupport namespaces)
Returns the list of stepts in
xpathExpression by cleaning it up removing
unnecessary elements. |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
PreGeneralizedSimpleFeature.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
H2DialectBasic.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
void |
H2DialectPrepared.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
void |
H2Dialect.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
Modifier and Type | Method and Description |
---|---|
void |
HanaDialect.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
Modifier and Type | Method and Description |
---|---|
void |
InformixDialect.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
MongoDBObjectFeature.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
MySQLDialectPrepared.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
void |
MySQLDialect.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
void |
MySQLDialectBasic.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql) |
Modifier and Type | Method and Description |
---|---|
void |
OracleDialect.postCreateAttribute(AttributeDescriptor att,
String tableName,
String schemaName,
Connection cx) |
Modifier and Type | Method and Description |
---|---|
protected String |
PostGISPSDialect.getArrayComponentTypeName(AttributeDescriptor att) |
Modifier and Type | Method and Description |
---|---|
protected AttributeDescriptor[] |
ReTypingFeatureIterator.typeAttributes(SimpleFeatureType original,
SimpleFeatureType target)
Supplies mapping from origional to target FeatureType.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentFeatureStore.modifyFeatures(AttributeDescriptor[] type,
Object[] value,
Filter filter) |
void |
ContentFeatureStore.modifyFeatures(AttributeDescriptor type,
Object value,
Filter filter)
Calls through to
ContentFeatureStore.modifyFeatures(Name[], Object[], Filter) . |
Modifier and Type | Method and Description |
---|---|
void |
TeradataDialect.postCreateAttribute(AttributeDescriptor att,
String tableName,
String schemaName,
Connection cx) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
Definition.getAttributeDescriptor(SimpleFeature originalFeature)
Computes the output attribute descriptor for this
Definition given a sample feature
of the original feature type. |
AttributeDescriptor |
Definition.getAttributeDescriptor(SimpleFeatureType originalSchema)
Computes the output attribute descriptor for this
Definition given only the original
feature type. |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
VPFColumn.getDescriptor() |
AttributeDescriptor |
VPFFeatureClass.getDescriptor(int index) |
AttributeDescriptor |
VPFFeatureType.getDescriptor(int index) |
AttributeDescriptor |
VPFFeatureClass.getDescriptor(Name name) |
AttributeDescriptor |
VPFFeatureType.getDescriptor(Name name) |
AttributeDescriptor |
VPFFeatureClass.getDescriptor(String name) |
AttributeDescriptor |
VPFFeatureType.getDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
List<AttributeDescriptor> |
VPFFeatureClass.getAttributeDescriptors() |
List<AttributeDescriptor> |
VPFFeatureType.getAttributeDescriptors() |
Modifier and Type | Method and Description |
---|---|
VPFFile |
VPFFeatureReader.getVPFFile(AttributeDescriptor column)
Returns the VPFFile for a particular column.
|
static VPFColumn |
VPFColumn.toVPFColumn(AttributeDescriptor descriptor) |
Constructor and Description |
---|
VPFColumn(String name,
AttributeDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
VPFFile.getDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
protected Object |
XmlFeatureParser.parseAttributeValue(AttributeDescriptor attribute)
Parses the value of the current attribute, parser cursor shall be on a feature attribute
START_ELEMENT event.
|
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
TypeBuilder.attributeDescriptor()
Create an AttributeDesctiptor, useful for fine grain control.
|
protected AttributeDescriptor |
AttributeBuilder.attributeDescriptor(Name name) |
AttributeDescriptor |
AttributeTypeBuilder.buildDescriptor(Name name,
AttributeType type) |
AttributeDescriptor |
AttributeTypeBuilder.buildDescriptor(String name)
Builds an attribute descriptor first building an attribute type from internal state.
|
AttributeDescriptor |
AttributeTypeBuilder.buildDescriptor(String name,
AttributeType type)
Builds an attribute descriptor specifying its attribute type.
|
AttributeDescriptor |
AttributeImpl.getDescriptor() |
AttributeDescriptor |
AttributeBuilder.getDescriptor() |
AttributeDescriptor |
DecoratingFeature.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeBuilder.addAnyTypeValue(Object value,
AttributeType type,
AttributeDescriptor descriptor,
String id)
Special case for any type.
|
Attribute |
AttributeBuilder.addComplexAnyTypeAttribute(Object value,
AttributeDescriptor descriptor,
String id)
Create a complex attribute for XS.AnyType, since it's defined as a simple type.
|
protected Attribute |
AttributeBuilder.create(Object value,
AttributeType type,
AttributeDescriptor descriptor,
String id)
Factors out attribute creation code, needs to be called with either one of type or descriptor
null.
|
Attribute |
AbstractFeatureFactoryImpl.createAttribute(Object value,
AttributeDescriptor descriptor,
String id) |
ComplexAttribute |
AbstractFeatureFactoryImpl.createComplexAttribute(Collection<Property> value,
AttributeDescriptor descriptor,
String id) |
ComplexAttribute |
AttributeBuilder.createComplexAttribute(Object value,
ComplexType type,
AttributeDescriptor descriptor,
String id)
Create complex attribute
|
Feature |
AbstractFeatureFactoryImpl.createFeature(Collection<Property> value,
AttributeDescriptor descriptor,
String id) |
SimpleFeature |
AbstractFeatureFactoryImpl.createSimpleFeautre(Object[] array,
AttributeDescriptor descriptor,
String id) |
static boolean |
FeatureTypes.equals(AttributeDescriptor[] attributesA,
AttributeDescriptor[] attributesB) |
static boolean |
FeatureTypes.equals(AttributeDescriptor[] attributesA,
AttributeDescriptor[] attributesB) |
static boolean |
FeatureTypes.equals(AttributeDescriptor a,
AttributeDescriptor b) |
static boolean |
FeatureTypes.equalsExact(AttributeDescriptor[] attributesA,
AttributeDescriptor[] attributesB) |
static boolean |
FeatureTypes.equalsExact(AttributeDescriptor[] attributesA,
AttributeDescriptor[] attributesB) |
static boolean |
FeatureTypes.equalsExact(AttributeDescriptor a,
AttributeDescriptor b) |
void |
AttributeTypeBuilder.init(AttributeDescriptor descriptor)
Initializes builder state from another attribute descriptor.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name)
Create a new FeatureType with the given AttributeTypes.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns)
Create a new FeatureType with the given AttributeTypes.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns,
boolean isAbstract)
Create a new FeatureType with the given AttributeTypes.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns,
boolean isAbstract,
SimpleFeatureType[] superTypes)
The most specific way to create a new FeatureType.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns,
boolean isAbstract,
SimpleFeatureType[] superTypes,
AttributeDescriptor defaultGeometry)
The most specific way to create a new FeatureType.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns,
boolean isAbstract,
SimpleFeatureType[] superTypes,
AttributeDescriptor defaultGeometry)
The most specific way to create a new FeatureType.
|
static SimpleFeatureType |
FeatureTypes.newFeatureType(AttributeDescriptor[] types,
String name,
URI ns,
boolean isAbstract,
SimpleFeatureType[] superTypes,
GeometryDescriptor defaultGeometry)
The most specific way to create a new FeatureType.
|
void |
AttributeBuilder.setDescriptor(AttributeDescriptor descriptor)
Sets the descriptor of the attribute being built.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FeatureTypes.equals(List<AttributeDescriptor> attributesA,
List<AttributeDescriptor> attributesB) |
static boolean |
FeatureTypes.equals(List<AttributeDescriptor> attributesA,
List<AttributeDescriptor> attributesB) |
static boolean |
FeatureTypes.equalsExact(List<AttributeDescriptor> attributesA,
List<AttributeDescriptor> attributesB) |
static boolean |
FeatureTypes.equalsExact(List<AttributeDescriptor> attributesA,
List<AttributeDescriptor> attributesB) |
Constructor and Description |
---|
AttributeImpl(Object content,
AttributeDescriptor descriptor,
Identifier id) |
ComplexAttributeImpl(Collection<Property> properties,
AttributeDescriptor descriptor,
Identifier id) |
ComplexFeatureBuilder(AttributeDescriptor ad) |
ComplexFeatureBuilder(AttributeDescriptor ad,
FeatureFactory factory) |
FeatureImpl(Collection<Property> properties,
AttributeDescriptor desc,
FeatureId id)
Create a Feature with the following content.
|
Modifier and Type | Field and Description |
---|---|
protected List<AttributeDescriptor> |
SimpleFeatureTypeBuilder.attributes
List of attributes.
|
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
SimpleFeatureTypeBuilder.get(int index)
Gets an AttributeBuilder configured using the descriptor at the provided index.
|
AttributeDescriptor |
SimpleFeatureTypeBuilder.get(String attributeName) |
AttributeDescriptor |
SimpleFeatureImpl.getDescriptor() |
AttributeDescriptor |
SimpleFeatureTypeImpl.getDescriptor(int index) |
AttributeDescriptor |
SimpleFeatureTypeImpl.getDescriptor(Name name) |
AttributeDescriptor |
SimpleFeatureTypeImpl.getDescriptor(String name) |
AttributeDescriptor |
SimpleFeatureTypeBuilder.remove(String attributeName)
Removes an attribute from the builder
|
Modifier and Type | Method and Description |
---|---|
protected List<AttributeDescriptor> |
SimpleFeatureTypeBuilder.attributes()
Accessor for attributes (will create attributes list if needed)
|
List<AttributeDescriptor> |
SimpleFeatureTypeImpl.getAttributeDescriptors() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleFeatureTypeBuilder.add(AttributeDescriptor descriptor)
Adds a descriptor directly to the builder.
|
void |
SimpleFeatureTypeBuilder.add(int index,
AttributeDescriptor descriptor)
Adds a descriptor to the builder by index.
|
void |
SimpleFeatureTypeBuilder.addAll(AttributeDescriptor... descriptors)
Adds an array of descriptors directly to the builder.
|
SimpleFeatureTypeBuilder |
SimpleFeatureTypeBuilder.descriptor(AttributeDescriptor descriptor)
Sets all the attribute specific state from a single descriptor.
|
void |
SimpleFeatureTypeBuilder.set(AttributeDescriptor descriptor)
Replace the descriptor at the provided index.
|
void |
SimpleFeatureTypeBuilder.set(int index,
AttributeDescriptor descriptor)
Replace the descriptor at the provided index.
|
void |
SimpleFeatureTypeBuilder.set(String attributeName,
AttributeDescriptor descriptor)
Replace the descriptor at the provided index.
|
void |
SimpleFeatureTypeBuilder.setAttributes(AttributeDescriptor... attributes)
Directly sets the list of attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleFeatureTypeBuilder.addAll(List<AttributeDescriptor> descriptors)
Adds a list of descriptors directly to the builder.
|
void |
SimpleFeatureTypeBuilder.setAttributes(List<AttributeDescriptor> attributes)
Directly sets the list of attributes.
|
Constructor and Description |
---|
SimpleFeatureTypeImpl(Name name,
List<AttributeDescriptor> schema,
GeometryDescriptor defaultGeometry,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description) |
Modifier and Type | Class and Description |
---|---|
class |
AttributeDescriptorImpl |
class |
GeometryDescriptorImpl |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
FeatureTypeFactoryImpl.createAttributeDescriptor(AttributeType type,
Name name,
int minOccurs,
int maxOccurs,
boolean isNillable,
Object defaultValue) |
static AttributeDescriptor |
Descriptors.find(List descriptors,
Name name)
Returns the attribute descriptor from a list which matches the specified name, or
null
if no such descriptor is found. |
AttributeDescriptor |
ReadonlyAttributeDecorator.getDescriptor() |
static AttributeDescriptor |
Descriptors.node(Collection schema,
Name name)
Finds the node associated with the provided name.
|
static AttributeDescriptor |
Descriptors.node(ComplexType schema,
AttributeType type)
Finds the node associated with the provided type.
|
static AttributeDescriptor |
Descriptors.node(ComplexType schema,
Name name)
Finds the node associated with the provided name.
|
static AttributeDescriptor |
Descriptors.node(ComplexType schema,
String name)
Finds the first node associated with the provided name disregarding namespaces
|
static AttributeDescriptor |
Descriptors.wrapAttributeType(AttributeType type)
Wraps a
AttributeType in AttributeDescriptor . |
Modifier and Type | Method and Description |
---|---|
static List<AttributeDescriptor> |
Descriptors.nodes(ComplexType schema,
AttributeType type)
List of nodes matching AttributeType.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Types.parse(AttributeDescriptor descriptor,
Object value)
Do our best to make the provided value line up with the needs of descriptor.
|
static void |
Types.validate(AttributeDescriptor descriptor,
Object value)
Ensure that attributeContent is a good value for descriptor.
|
Modifier and Type | Method and Description |
---|---|
SimpleFeatureType |
FeatureTypeFactoryImpl.createSimpleFeatureType(Name name,
List<AttributeDescriptor> schema,
GeometryDescriptor defaultGeometry,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description) |
static boolean |
Descriptors.isSimple(Collection<AttributeDescriptor> schema)
Determines if a collection of attribute descriptors is "simple".
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFeatureTypeMapper.remapGeometryAttribute(SimpleFeatureTypeBuilder tb,
Definition definition,
AttributeDescriptor descriptor,
AttributeType type)
Remap the original GeomtryType on top of the available definitions to create the database
specific featureType
|
Modifier and Type | Method and Description |
---|---|
protected void |
PostgisFeatureTypeMapper.remapGeometryAttribute(SimpleFeatureTypeBuilder tb,
Definition definition,
AttributeDescriptor descriptor,
AttributeType type) |
Modifier and Type | Method and Description |
---|---|
Object |
GeoPkgDialect.convertValue(Object value,
AttributeDescriptor ad) |
Integer |
GeoPkgDialect.getSQLType(AttributeDescriptor ad) |
boolean |
GeoPkgDialect.isArray(AttributeDescriptor att) |
void |
GeoPkgDialect.postCreateAttribute(AttributeDescriptor att,
String tableName,
String schemaName,
Connection cx) |
void |
GeoPkgDialect.setArrayValue(Object value,
AttributeDescriptor att,
PreparedStatement ps,
int columnIdx,
Connection cx) |
Modifier and Type | Method and Description |
---|---|
protected AttributesImpl |
FeatureTypeTransformer.FeatureTypeTranslator.createStandardAttributes(AttributeDescriptor attribute)
Creates standard xml attributes present on all xs:element elements.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encode(AttributeDescriptor attribute)
Encode an AttributeType.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encodeBoolean(AttributeDescriptor attribute)
Encode an AttributeType whose value type is a Boolean.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encodeDate(AttributeDescriptor attribute)
Encode an AttributeType whose value type is a Date.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encodeGeometry(AttributeDescriptor attribute)
Encode an AttributeType whose value type is a Geometry.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encodeNumber(AttributeDescriptor attribute)
Encode an AttributeType whose value type is a Number.
|
protected void |
FeatureTypeTransformer.FeatureTypeTranslator.encodeString(AttributeDescriptor attribute)
Encode an AttributeType whose value type is a String.
|
Modifier and Type | Method and Description |
---|---|
protected Attributes |
FeatureCollectionEncoderDelegate.getPropertyAttributes(QualifiedName name,
FeatureType featureType,
AttributeDescriptor attribute,
Object value)
Allows subclasses to generate a list of attributes for the property being encoded.
|
Modifier and Type | Method and Description |
---|---|
protected Attributes |
GML32FeatureCollectionEncoderDelegate.getPropertyAttributes(QualifiedName name,
FeatureType featureType,
AttributeDescriptor attribute,
Object value) |
Modifier and Type | Field and Description |
---|---|
protected List<AttributeDescriptor> |
PreparedFilterToSQL.descriptors |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
JDBCFeatureReader.ResultSetFeature.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
List<AttributeDescriptor> |
PreparedFilterToSQL.getDescriptors()
Returns the attribute descriptors compared to a given literal (if any, not always available,
normally only needed if arrays are involved)
|
Modifier and Type | Method and Description |
---|---|
Object |
SQLDialect.convertValue(Object value,
AttributeDescriptor ad)
Convertes the given value to the target type.
|
void |
SQLDialect.encodePostColumnCreateTable(AttributeDescriptor att,
StringBuffer sql)
Encodes anything post a column in a CREATE TABLE statement.
|
protected String |
PreparedStatementSQLDialect.getArrayComponentTypeName(AttributeDescriptor att)
Given the full information about the attribute being transformed, figure out the native SQL
Type Name to use when creating a SQL Array object· The default implementation just scans
JDBCDataStore.getSqlTypeNameToClassMappings() backwards, and will fail in case there
are ambiguities. |
protected int |
JDBCDataStore.getDescriptorDimension(AttributeDescriptor descriptor)
Extracts the eventual native dimension user property from the descriptor, returns -1 if not
found
|
protected int |
JDBCDataStore.getDescriptorSRID(AttributeDescriptor descriptor)
Extracts the eventual native SRID user property from the descriptor, returns -1 if not found
|
protected int |
JDBCDataStore.getGeometryDimension(Geometry g,
AttributeDescriptor descriptor)
Looks up the geometry dimension by trying a number of heuristics.
|
protected int |
JDBCDataStore.getGeometrySRID(Geometry g,
AttributeDescriptor descriptor)
Looks up the geometry srs by trying a number of heuristics.
|
Integer |
SQLDialect.getSQLType(AttributeDescriptor ad)
Gives an opportunity to the dialect to do its own custom type mapping, based on the full
description of the attribute.
|
boolean |
SQLDialect.isArray(AttributeDescriptor att)
Returns true if the attribute in question is an array.
|
void |
SQLDialect.postCreateAttribute(AttributeDescriptor att,
String tableName,
String schemaName,
Connection cx)
Callback which executes after an attribute descriptor has been built from a table column.
|
void |
PreparedStatementSQLDialect.setArrayValue(Object value,
AttributeDescriptor att,
PreparedStatement ps,
int i,
Connection cx)
Sets a value in a prepared statement, for the specific case of
Array
This method uses the standard SQL Array handling, subclasses can override to add special
behavior |
protected void |
JDBCDataStore.update(SimpleFeatureType featureType,
AttributeDescriptor[] attributes,
Object[] values,
Filter filter,
Connection cx)
Updates an existing feature(s) in the database for a particular feature type / table.
|
protected String |
JDBCDataStore.updateSQL(SimpleFeatureType featureType,
AttributeDescriptor[] attributes,
Object[] values,
Filter filter,
Set<String> pkColumnNames)
Generates an 'UPDATE' sql statement.
|
protected PreparedStatement |
JDBCDataStore.updateSQLPS(SimpleFeatureType featureType,
AttributeDescriptor[] attributes,
Object[] values,
Filter filter,
Set<String> pkColumnNames,
Connection cx)
Generates an 'UPDATE' prepared statement.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JDBCDataStore.update(SimpleFeatureType featureType,
List<AttributeDescriptor> attributes,
List<Object> values,
Filter filter,
Connection cx)
Updates an existing feature(s) in the database for a particular feature type / table.
|
Constructor and Description |
---|
PropertyValueCollection(FeatureCollection delegate,
AttributeDescriptor descriptor,
PropertyName propName) |
Modifier and Type | Interface and Description |
---|---|
(package private) interface |
ChoiceAttributeType
A temporary measure representing a choice between several bindings.
|
interface |
ChoiceGeometryType |
Modifier and Type | Class and Description |
---|---|
class |
ChoiceGeometryTypeImpl
Created for GML generated FeatureTypes.
|
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
IllegalAttributeException.getDescriptor()
AttribtueDescriptor being checked against.
|
AttributeDescriptor |
Attribute.getDescriptor()
Override of
Property.getDescriptor() which type narrows to AttributeDescriptor . |
Modifier and Type | Method and Description |
---|---|
Attribute |
FeatureFactory.createAttribute(Object value,
AttributeDescriptor descriptor,
String id)
Creates an attribute.
|
ComplexAttribute |
FeatureFactory.createComplexAttribute(Collection<Property> value,
AttributeDescriptor descriptor,
String id)
Creates a complex attribute.
|
Feature |
FeatureFactory.createFeature(Collection<Property> value,
AttributeDescriptor descriptor,
String id)
Creates a feature.
|
SimpleFeature |
FeatureFactory.createSimpleFeautre(Object[] array,
AttributeDescriptor descriptor,
String id)
Creates a simple feature.
|
Constructor and Description |
---|
IllegalAttributeException(AttributeDescriptor descriptor,
Object value) |
IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
String message) |
IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
String message,
Throwable t) |
IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
Throwable t) |
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
SimpleFeatureType.getDescriptor(int index)
Returns the attribute descriptor at the specified index.
|
AttributeDescriptor |
SimpleFeatureType.getDescriptor(Name name)
Returns the attribute descriptor which matches the specified name.
|
AttributeDescriptor |
SimpleFeatureType.getDescriptor(String name)
Returns the attribute descriptor which matches the specified name.
|
Modifier and Type | Method and Description |
---|---|
List<AttributeDescriptor> |
SimpleFeatureType.getAttributeDescriptors()
The list of attribute descriptors which make up the feature type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GeometryDescriptor
Describes an instance of a geometry attribute.
|
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
FeatureTypeFactory.createAttributeDescriptor(AttributeType type,
Name name,
int minOccurs,
int maxOccurs,
boolean isNillable,
Object defaultValue)
Creates an attribute descriptor.
|
Modifier and Type | Method and Description |
---|---|
SimpleFeatureType |
FeatureTypeFactory.createSimpleFeatureType(Name name,
List<AttributeDescriptor> schema,
GeometryDescriptor defaultGeometry,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description)
Creates a simple feature type.
|
Copyright © 1996–2022 Geotools. All rights reserved.