public static enum ShapeBuilder.GeoShapeType extends Enum<ShapeBuilder.GeoShapeType>
ShapeBuilder.GeoShapeTypes that can be handled| 列挙型定数と説明 |
|---|
CIRCLE |
ENVELOPE |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
public static final ShapeBuilder.GeoShapeType POINT
public static final ShapeBuilder.GeoShapeType MULTIPOINT
public static final ShapeBuilder.GeoShapeType LINESTRING
public static final ShapeBuilder.GeoShapeType MULTILINESTRING
public static final ShapeBuilder.GeoShapeType POLYGON
public static final ShapeBuilder.GeoShapeType MULTIPOLYGON
public static final ShapeBuilder.GeoShapeType GEOMETRYCOLLECTION
public static final ShapeBuilder.GeoShapeType ENVELOPE
public static final ShapeBuilder.GeoShapeType CIRCLE
protected final String shapename
public static ShapeBuilder.GeoShapeType[] values()
for(ShapeBuilder.GeoShapeType c: ShapeBuilder.GeoShapeType.values()) System.out.println(c);
public static ShapeBuilder.GeoShapeType valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public static ShapeBuilder.GeoShapeType forName(String geoshapename)
public static ShapeBuilder parse(XContentParser parser) throws IOException
IOExceptionpublic static ShapeBuilder parse(XContentParser parser, GeoShapeFieldMapper shapeMapper) throws IOException
parser - - parse utility object including source documentshapeMapper - - field mapper needed for index specific parametersIOExceptionprotected static void validatePointNode(ShapeBuilder.CoordinateNode node)
protected static PointBuilder parsePoint(ShapeBuilder.CoordinateNode node)
protected static CircleBuilder parseCircle(ShapeBuilder.CoordinateNode coordinates, DistanceUnit.Distance radius)
protected static EnvelopeBuilder parseEnvelope(ShapeBuilder.CoordinateNode coordinates, ShapeBuilder.Orientation orientation)
protected static void validateMultiPointNode(ShapeBuilder.CoordinateNode coordinates)
protected static MultiPointBuilder parseMultiPoint(ShapeBuilder.CoordinateNode coordinates)
protected static LineStringBuilder parseLineString(ShapeBuilder.CoordinateNode coordinates)
protected static MultiLineStringBuilder parseMultiLine(ShapeBuilder.CoordinateNode coordinates)
protected static LineStringBuilder parseLinearRing(ShapeBuilder.CoordinateNode coordinates, boolean coerce)
protected static PolygonBuilder parsePolygon(ShapeBuilder.CoordinateNode coordinates, ShapeBuilder.Orientation orientation, boolean coerce)
protected static MultiPolygonBuilder parseMultiPolygon(ShapeBuilder.CoordinateNode coordinates, ShapeBuilder.Orientation orientation, boolean coerce)
protected static GeometryCollectionBuilder parseGeometries(XContentParser parser, GeoShapeFieldMapper mapper) throws IOException
parser - Parser that will be read fromIOException - Thrown if an error occurs while reading from the XContentParserCopyright © 2009–2016. All rights reserved.