|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.co.melco.preserv.spatial.psvMapBinder
タイトル: 通信管理クラス
説明: Web-GISサーバ(サーブレット)との接続の確立や、空間DBのメタ情報取得、 各Mapオブジェクトの管理等の機能を提供します。
getReqeustBuffer()メソッドで取得出来るpsvRequestBufferクラスで、リクエストのバッファリングを 行う事が可能です。
著作権: Copyright (c) 2004
会社名: Mitsubishi Electric Corporation
フィールドの概要 | |
protected AttributeLoadable |
attributeLoader
属性読み込みオブジェクトです。 |
protected jp.co.melco.preserv.spatial.psvBindingCore |
bindingCore
通使用コアクラスです。 |
protected java.util.Map |
cachedFeatureLayerInfo
地物レイヤ情報のキャッシュです。 |
protected java.util.Map |
cachedTopologyLayerInfo
位相レイヤ情報のキャッシュです。 |
protected jp.co.melco.preserv.spatial.psvTopologyLayerRelation[] |
cachedTopologyLayerRelations
地物・位相レイヤの関連キャッシュです。 |
protected boolean |
cacheLayerInfo
レイヤ情報のキャッシュフラグです。 |
protected jp.co.melco.preserv.spatial.psvFeatureMapBinder |
featureMapBinder
地物通信用クラスです。 |
protected java.util.Vector |
featureMaps
featureMap保持用リストです。 |
protected java.util.List |
featureRequestListeners
地物リクエストのリスナです。 |
protected psvBufferRelationManagerImpl |
relationManager
関連管理オブジェクトです。 |
protected psvRequestBuffer |
requestBuffer
リクエストバッファクラスです。 |
protected java.util.List |
serverConnectionListeners
サーバ接続状態のリスナです。 |
protected java.lang.String |
url
接続先URL文字列です。 |
コンストラクタの概要 | |
psvMapBinder()
コンストラクタです。 |
メソッドの概要 | |
boolean |
addFeature(psvFeature feature)
地物の追加を行います。 |
void |
addFeatureRequestListener(jp.co.melco.preserv.spatial.psvFeatureRequestListener listener)
地物リクエストリスナを追加します。 |
protected boolean |
addFeatures(psvFeature[] features)
地物リストの追加を行います。 |
void |
addServerConnectionListener(psvServerConnectionListener listener)
サーバ接続状態リスナを追加します。 |
boolean |
changeFeature(psvFeature feature)
地物の更新を行います。 |
protected boolean |
changeFeatures(psvFeature[] features)
地物リストの更新を行います。 |
java.lang.Object |
connect(java.lang.String url)
Web-GISサーバとの接続を確立します。 |
protected AttributeLoadable |
createAttributeLoader()
主題属性、時間属性の読み込みオブジェクトを作成して返します。 |
protected jp.co.melco.preserv.spatial.psvFeatureMapBinder |
createFeatureMapBinder(jp.co.melco.preserv.spatial.psvBindingCore bindingCore)
地物用通信クラスを作成して返します。 |
protected psvBufferRelationManagerImpl |
createRelationManager()
関連管理オブジェクトを返します。 |
boolean |
disconnect()
Web-GISサーバとの接続を切断します。 |
protected void |
fireFeaturesAdded(psvFeature[] features)
地物が追加された事を通知します。 |
protected void |
fireFeaturesChanged(psvFeature[] features)
地物が変更された事を通知します。 |
protected void |
fireFeaturesGot(psvFeature[] features)
地物が取得された事を通知します。 |
protected void |
fireFeaturesRemoved(psvFeature[] features)
地物が削除された事を通知します。 |
protected void |
fireFeaturesWillAdd(psvFeature[] features)
地物が追加される事を通知します。 |
protected void |
fireFeaturesWillChange(psvFeature[] features)
地物が変更される事を通知します。 |
protected void |
fireFeaturesWillRemove(psvFeature[] features)
地物が削除される事を通知します。 |
java.lang.String |
getBizID()
業務IDを返します。 |
java.lang.Object |
getBizObject()
業務オブジェクトを返します。 |
protected java.util.Map |
getCountByAttribute(java.lang.String[] layerNames,
FeatureAttributeQueries queries)
引数で指定した主題属性を有する地物の件数を取得します。 |
protected java.util.Map |
getCountByAttribute(java.lang.String[] layerNames,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch)
引数で指定した主題属性を有する地物の件数を取得します。 |
java.util.Map |
getCountByAttribute(java.lang.String layerName,
FeatureAttributeQueries queries)
引数で指定した主題属性を有する地物の件数を取得します。 |
java.util.Map |
getCountByAttribute(java.lang.String layerName,
java.lang.Object attributeName,
java.lang.Object attributeValue,
boolean matchPart)
引数で指定した主題属性を有する地物の件数を取得します。 |
java.util.Map |
getCountByAttribute(java.lang.String layerName,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch)
引数で指定した主題属性を有する地物の件数を取得します。 |
protected psvFeature |
getFeature(java.lang.Long key)
引数で指定された地物管理キーの地物を取得します。 |
psvAttributeDefinitions |
getFeatureAttributeDefinitions()
地物レイヤの主題属性名一覧を返します。 |
protected java.util.Collection |
getFeatureByAttribute(java.lang.String[] layerNames,
FeatureAttributeQueries queries)
引数で指定した主題属性を有する地物を取得します。 |
protected java.util.Collection |
getFeatureByAttribute(java.lang.String[] layerNames,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch)
引数で指定した主題属性を有する地物を取得します。 |
java.util.Collection |
getFeatureByAttribute(java.lang.String layerName,
FeatureAttributeQueries attributeQueries)
引数で指定した主題属性を有する地物を取得します。 |
java.util.Collection |
getFeatureByAttribute(java.lang.String layerName,
java.lang.Object attributeName,
java.lang.Object attributeValue,
boolean matchPart)
引数で指定した主題属性を有する地物を取得します。 |
java.util.Collection |
getFeatureByAttribute(java.lang.String layerName,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch)
引数で指定した主題属性を有する地物を取得します。 |
java.util.Collection |
getFeatureByFeatureId(java.lang.String[] layerNames,
java.lang.String[] featureIds,
boolean matchPart)
引数で指定した地物IDを有する地物を取得します。 |
java.util.Collection |
getFeatureByInternalId(java.lang.String[] layerNames,
java.lang.Long[] internalIds)
引数で指定した地物管理キーを有する地物を取得します。 |
java.util.Collection |
getFeatureByTemporal(java.lang.String[] layerNames,
java.util.Date startDate,
int startDateCondition,
java.util.Date endDate,
int endDateCondition)
引数で指定された条件の地物を取得します。 |
protected java.util.Map |
getFeatureLayerInfo()
空間DBに登録されている全ての地物レイヤの情報 (レイヤ名、メタ情報の地物クラス名)を取得します。 |
java.lang.String[] |
getFeatureLayerNames()
地物レイヤ名を返します。 |
java.util.Map |
getFeatureSchemaMap()
レイヤ名称と地物スキーマ(String)の関連Mapを返します。 |
java.lang.String[] |
getGeometryFeatureLayerNames()
幾何レイヤ名(地物レイヤ名かつ、位相レイヤに含まれない)を返します。 |
protected java.util.Map |
getInnerKeyByAttribute(java.lang.String[] layerNames,
FeatureAttributeQueries queries,
int maxCount)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
protected java.util.Map |
getInnerKeyByAttribute(java.lang.String[] layerNames,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch,
int maxCount)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
java.util.Map |
getInnerKeyByAttribute(java.lang.String layerName,
FeatureAttributeQueries queries,
int maxCount)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
java.util.Map |
getInnerKeyByAttribute(java.lang.String layerName,
java.lang.Object attributeName,
java.lang.Object attributeValue,
boolean matchPart)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
java.util.Map |
getInnerKeyByAttribute(java.lang.String layerName,
java.lang.Object attributeName,
java.lang.Object attributeValue,
boolean matchPart,
int maxCount)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
java.util.Map |
getInnerKeyByAttribute(java.lang.String layerName,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
java.util.Map |
getInnerKeyByAttribute(java.lang.String layerName,
java.lang.String[] searchAttributes,
boolean matchPart,
boolean andSearch,
int maxCount)
引数で指定した主題属性を有する地物のInnerKeyのリストを取得します。 |
protected java.util.Collection |
getIntersection(java.util.Collection target,
java.lang.String[] layerNames,
jp.co.melco.preserv.psvRegion region)
指定レイヤにおいて、指定領域と交差する全地物を取得します。 |
java.util.Collection |
getIntersection(java.lang.String[] layerNames,
jp.co.melco.preserv.psvRegion region)
指定レイヤにおいて、指定領域と交差する全地物をデータベースから取得します。 |
java.util.Collection |
getMapList()
登録されている全MAPオブジェクトの取得します。 |
java.util.Map |
getRelationshipMap(long[] ids)
地物関連属性取得リクエストを作成して返します。 |
psvRequestBuffer |
getRequestBuffer()
リクエストバッファクラスを取得します。 |
int |
getRequestIdLimit()
地物内部ID要求制限数を取得します。 |
java.lang.String[] |
getTopologyFeatureLayerNames()
位相地物レイヤ名を返します。 |
protected java.util.Map |
getTopologyLayerInfo()
空間DBに登録されている全ての位相レイヤの情報 (レイヤ名、メタ情報の地物クラス名)を取得します。 |
java.lang.String[] |
getTopologyLayerNames()
位相レイヤ名を返します。 |
java.util.Map |
getTopologyRoute(java.lang.String topologyLayerName,
long startNodeKey,
long[] endNodeKeys,
long[] passedNodeKeys,
double scopeMagnify,
java.lang.String routeSelectClassName,
int featureStructType,
int resultKind,
boolean cacheClear,
java.lang.String[] requestAttributes,
boolean useEdgeGeometry,
int selectRouteKind)
最短経路探索をサーバで実行し、その結果を返します。 |
protected java.util.Map |
getTopologyRoute(java.lang.String topologyLayerName,
long startNodeKey,
long[] endNodeKeys,
long[] passedNodeKeys,
double scopeMagnify,
java.lang.String routeSelectClassName,
java.lang.Object routeSelectClass,
int featureStructType,
int resultKind,
boolean cacheClear,
java.lang.String[] requestAttributes,
boolean useEdgeGeometry,
int selectRouteKind)
最短経路探索をサーバで実行し、その結果を返します。 |
java.util.Map |
getTopologyRoute(java.lang.String topologyLayerName,
long startNodeKey,
long[] endNodeKeys,
long[] passedNodeKeys,
double scopeMagnify,
TopologyRouteSelectorOptimalPath routeSelectClass,
int featureStructType,
int resultKind,
boolean cacheClear,
java.lang.String[] requestAttributes,
boolean useEdgeGeometry,
int selectRouteKind)
最短経路探索をサーバで実行し、その結果を返します。 |
boolean |
isConnected()
サーバとの接続状態を返します。 |
boolean |
isLoadWithAttribute()
地物読み込み時に主題属性の読み込みを同時に行うかを返します。 |
boolean |
isLoadWithTemporal()
地物読み込み時に時間属性の読み込みを同時に行うかを返します。 |
protected java.util.Collection |
loadFeature(java.lang.String layerName,
java.lang.Object[] meshIds)
レイヤ名とメッシュ名を指定して該当する地物を一括でロードします。 |
protected boolean |
loadFeatureAttribute(psvFeature feature)
指定地物の主題属性をロードします。 |
protected boolean |
loadFeatureRelationship(psvFeature feature)
指定地物の関連属性をロードします。 |
protected boolean |
loadFeatureTemporal(psvFeature feature)
指定地物の時間属性をロードします。 |
boolean |
removeFeature(psvFeature feature)
地物の削除を行います。 |
void |
removeFeatureRequestListener(jp.co.melco.preserv.spatial.psvFeatureRequestListener listener)
地物リクエストリスナを削除します。 |
protected boolean |
removeFeatures(psvFeature[] features)
地物の削除を行います。 |
void |
removeServerConnectionListener(psvServerConnectionListener listener)
サーバ接続状態リスナを削除します。 |
protected void |
restoreTopologyRelations(psvFeature[] features)
地物リストの地物に、エッジがあればノードを設定します。 |
void |
setBizID(java.lang.String bizID)
業務IDを設定します。 |
void |
setBizObject(java.lang.Object bizObject)
業務オブジェクトを設定します。 |
void |
setLoadWithAttribute(boolean loadWithAttribute)
地物読み込み時に主題属性の読み込みを同時に行うかを設定します。 |
void |
setLoadWithTemporal(boolean loadWithTemporal)
地物読み込み時に時間属性の読み込みを同時に行うかを設定します。 |
void |
setRequestIdLimit(int requestInternalIdLimit)
地物内部ID要求制限数を設定します。 |
java.lang.String[] |
toFeatureLayerNames(java.lang.String[] topologyLayerNames)
位相レイヤ名から対応する地物レイヤ名を返します。 |
java.lang.String[] |
toTopologyLayerNames(java.lang.String[] featureLayerNames)
地物レイヤ名から対応する位相レイヤ名を返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected java.util.Vector featureMaps
protected jp.co.melco.preserv.spatial.psvBindingCore bindingCore
protected jp.co.melco.preserv.spatial.psvFeatureMapBinder featureMapBinder
protected java.lang.String url
protected AttributeLoadable attributeLoader
protected psvBufferRelationManagerImpl relationManager
protected java.util.List featureRequestListeners
protected java.util.List serverConnectionListeners
protected java.util.Map cachedFeatureLayerInfo
protected java.util.Map cachedTopologyLayerInfo
protected jp.co.melco.preserv.spatial.psvTopologyLayerRelation[] cachedTopologyLayerRelations
protected boolean cacheLayerInfo
protected psvRequestBuffer requestBuffer
コンストラクタの詳細 |
public psvMapBinder()
メソッドの詳細 |
protected AttributeLoadable createAttributeLoader()
protected psvBufferRelationManagerImpl createRelationManager()
protected jp.co.melco.preserv.spatial.psvFeatureMapBinder createFeatureMapBinder(jp.co.melco.preserv.spatial.psvBindingCore bindingCore)
bindingCore
- 通信コアクラス
public java.util.Collection getMapList()
public void addFeatureRequestListener(jp.co.melco.preserv.spatial.psvFeatureRequestListener listener)
listener
- 追加する地物リクエストリスナpublic void removeFeatureRequestListener(jp.co.melco.preserv.spatial.psvFeatureRequestListener listener)
listener
- 削除する地物リクエストリスナprotected void fireFeaturesChanged(psvFeature[] features)
features
- 変更地物protected void fireFeaturesAdded(psvFeature[] features)
features
- 追加地物protected void fireFeaturesRemoved(psvFeature[] features)
features
- 削除地物protected void fireFeaturesWillChange(psvFeature[] features)
features
- 変更地物protected void fireFeaturesWillAdd(psvFeature[] features)
features
- 追加地物protected void fireFeaturesWillRemove(psvFeature[] features)
features
- 削除地物protected void fireFeaturesGot(psvFeature[] features)
features
- 取得地物public psvRequestBuffer getRequestBuffer()
public void addServerConnectionListener(psvServerConnectionListener listener)
listener
- サーバ接続状態リスナpublic void removeServerConnectionListener(psvServerConnectionListener listener)
listener
- サーバ接続状態リスナpublic boolean isLoadWithAttribute()
public void setLoadWithAttribute(boolean loadWithAttribute)
loadWithAttribute
- 地物読み込み時に主題属性の読み込みを同時に行うかの判定public boolean isLoadWithTemporal()
public void setLoadWithTemporal(boolean loadWithTemporal)
loadWithTemporal
- 地物読み込み時に時間属性の読み込みを同時に行うのかの判定public void setRequestIdLimit(int requestInternalIdLimit)
requestInternalIdLimit
- 地物内部ID要求制限数public int getRequestIdLimit()
public java.lang.Object connect(java.lang.String url)
url
- Web-GISサーバURL
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public boolean isConnected()
public boolean disconnect()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.lang.String[] getFeatureLayerNames()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.lang.String[] getGeometryFeatureLayerNames()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.lang.String[] getTopologyLayerNames()
public java.lang.String[] toFeatureLayerNames(java.lang.String[] topologyLayerNames)
topologyLayerNames
- 位相レイヤ名称
public java.lang.String[] toTopologyLayerNames(java.lang.String[] featureLayerNames)
featureLayerNames
- 地物レイヤ名称
public java.lang.String[] getTopologyFeatureLayerNames()
protected java.util.Map getFeatureLayerInfo()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected java.util.Map getTopologyLayerInfo()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean loadFeatureAttribute(psvFeature feature)
feature
- 主題属性をロードする地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean loadFeatureTemporal(psvFeature feature)
feature
- 時間属性をロードする地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean loadFeatureRelationship(psvFeature feature)
feature
- 関連属性をロードする地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.lang.String getBizID()
public void setBizID(java.lang.String bizID)
bizID
- 業務IDpublic java.lang.Object getBizObject()
public void setBizObject(java.lang.Object bizObject)
bizObject
- 業務オブジェクトprotected java.util.Collection loadFeature(java.lang.String layerName, java.lang.Object[] meshIds)
layerName
- 地物ロード対象のレイヤ名称meshIds
- 地物ロード対象のメッシュIDリスト(指定するメッシュIDはtoString()、又はStringクラスである必要があります。)
FeatureSelectValueのREQUEST_ATTRIBUTE,REQUEST_TERMOFVALIDITY の何れか、
またはその両方をorで設定します。
protected void restoreTopologyRelations(psvFeature[] features)
features
- 地物リスト(要素:psvFeature)protected psvFeature getFeature(java.lang.Long key)
key
- 地物管理キー
public boolean addFeature(psvFeature feature)
feature
- 追加する地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean addFeatures(psvFeature[] features)
features
- 追加する地物オブジェクトリスト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public boolean changeFeature(psvFeature feature)
feature
- 更新する地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean changeFeatures(psvFeature[] features)
features
- 更新する地物オブジェクトリスト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public boolean removeFeature(psvFeature feature)
feature
- 削除する地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected boolean removeFeatures(psvFeature[] features)
features
- 削除する地物オブジェクト
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Collection getFeatureByFeatureId(java.lang.String[] layerNames, java.lang.String[] featureIds, boolean matchPart)
layerNames
- 検索対象地物レイヤ名featureIds
- 検索地物IDmatchPart
- true:部分一致検索 false:完全一致検索
public java.util.Collection getFeatureByInternalId(java.lang.String[] layerNames, java.lang.Long[] internalIds)
layerNames
- 検索対象地物レイヤ名internalIds
- 地物管理キー
public java.util.Collection getFeatureByAttribute(java.lang.String layerName, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch)
layerName
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Collection getFeatureByAttribute(java.lang.String layerName, java.lang.Object attributeName, java.lang.Object attributeValue, boolean matchPart)
layerName
- 検索対象地物レイヤ名attributeName
- 主題属性名attributeValue
- 主題属性の値matchPart
- true:部分一致検索 false:完全一致検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Collection getFeatureByAttribute(java.lang.String layerName, FeatureAttributeQueries attributeQueries)
layerName
- 検索対象地物レイヤ名attributeQueries
- 主題属性検索条件
protected java.util.Collection getFeatureByAttribute(java.lang.String[] layerNames, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch)
layerNames
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected java.util.Collection getFeatureByAttribute(java.lang.String[] layerNames, FeatureAttributeQueries queries)
layerNames
- 検索対象地物レイヤ名queries
- 主題属性検索条件
public java.util.Map getInnerKeyByAttribute(java.lang.String layerName, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch)
layerName
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getInnerKeyByAttribute(java.lang.String layerName, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch, int maxCount)
layerName
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索maxCount
- 最大取得配列数
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getInnerKeyByAttribute(java.lang.String layerName, java.lang.Object attributeName, java.lang.Object attributeValue, boolean matchPart)
layerName
- 検索対象地物レイヤ名attributeName
- 主題属性名attributeValue
- 主題属性の値matchPart
- true:部分一致検索 false:完全一致検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getInnerKeyByAttribute(java.lang.String layerName, java.lang.Object attributeName, java.lang.Object attributeValue, boolean matchPart, int maxCount)
layerName
- 検索対象地物レイヤ名attributeName
- 主題属性名attributeValue
- 主題属性の値matchPart
- true:部分一致検索 false:完全一致検索maxCount
- 最大取得配列数
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getInnerKeyByAttribute(java.lang.String layerName, FeatureAttributeQueries queries, int maxCount)
layerName
- 検索対象地物レイヤ名queries
- 主題属性検索条件maxCount
- 最大取得配列数
protected java.util.Map getInnerKeyByAttribute(java.lang.String[] layerNames, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch, int maxCount)
layerNames
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索maxCount
- 最大取得配列数
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected java.util.Map getInnerKeyByAttribute(java.lang.String[] layerNames, FeatureAttributeQueries queries, int maxCount)
layerNames
- 検索対象地物レイヤ名queries
- 主題属性検索条件maxCount
- 最大取得配列数
public java.util.Map getCountByAttribute(java.lang.String layerName, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch)
layerName
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getCountByAttribute(java.lang.String layerName, java.lang.Object attributeName, java.lang.Object attributeValue, boolean matchPart)
layerName
- 検索対象地物レイヤ名attributeName
- 主題属性名attributeValue
- 主題属性の値matchPart
- true:部分一致検索 false:完全一致検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getCountByAttribute(java.lang.String layerName, FeatureAttributeQueries queries)
layerName
- 検索対象地物レイヤ名queries
- 主題属性検索条件
protected java.util.Map getCountByAttribute(java.lang.String[] layerNames, java.lang.String[] searchAttributes, boolean matchPart, boolean andSearch)
layerNames
- 検索対象地物レイヤ名searchAttributes
- 検索対象主題属性.matchPart
- true:部分一致検索 false:完全一致検索andSearch
- true:全条件のAND検索 false:全条件のOR検索
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時protected java.util.Map getCountByAttribute(java.lang.String[] layerNames, FeatureAttributeQueries queries)
layerNames
- 検索対象地物レイヤ名queries
- 主題属性検索条件
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Collection getFeatureByTemporal(java.lang.String[] layerNames, java.util.Date startDate, int startDateCondition, java.util.Date endDate, int endDateCondition)
layerNames
- 検索対象レイヤ名startDate
- 開始日(以降のものを取得)startDateCondition
- FeatureSelectValueのCOMPARISON_EQUAL, COMPARISON_GREATER_THAN,
COMPARISON_GREATER_THANの何れかを指定します。endDate
- 終了日(以前のものを取得)endDateCondition
- startDateConditionを参照
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時psvTMCalDate.createDate(int, int, int)
protected java.util.Map getTopologyRoute(java.lang.String topologyLayerName, long startNodeKey, long[] endNodeKeys, long[] passedNodeKeys, double scopeMagnify, java.lang.String routeSelectClassName, java.lang.Object routeSelectClass, int featureStructType, int resultKind, boolean cacheClear, java.lang.String[] requestAttributes, boolean useEdgeGeometry, int selectRouteKind)
topologyLayerName
- 検索対象の位相レイヤ名startNodeKey
- 開始ノードの地物管理キーendNodeKeys
- 終了ノードの地物管理キー(終了ノード複数指定)passedNodeKeys
- 通過ノードの地物管理キーリストscopeMagnify
- 検索範囲倍率(開始ノード、終了ノード間の距離にかける倍率、1以上)routeSelectClassName
- 取得経路優先度設定クラスの名称routeSelectClass
- 取得経路優先度設定クラス(routeSelectClassName設定時でもこちらが優先)featureStructType
- 経路検索の際に使用する地物の構成を指定。 指定にはFeatureSelectValueの定数フィールド値を使用してください。
例:地物+主題属性の場合は FeatureSelectValue.REQUEST_FEATURE +
FeatureSelectValue.REQUEST_ATTRIBUTE です。resultKind
- 検索結果の形式を指定します。cacheClear
- trueの場合は、最短経路検索後にキャッシュをクリアします。requestAttributes
- 検索要求対象の主題属性を設定します。useEdgeGeometry
- エッジの幾何属性を反映して経路検索を行なうかどうかを設定します。selectRouteKind
- 経路選択方法の種別を指定します。jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時TopologyRouteSelectorOptimalPath
,
TopologyRouteSelectValue
public java.util.Map getTopologyRoute(java.lang.String topologyLayerName, long startNodeKey, long[] endNodeKeys, long[] passedNodeKeys, double scopeMagnify, java.lang.String routeSelectClassName, int featureStructType, int resultKind, boolean cacheClear, java.lang.String[] requestAttributes, boolean useEdgeGeometry, int selectRouteKind)
topologyLayerName
- 検索対象の位相レイヤ名startNodeKey
- 開始ノードの地物管理キーendNodeKeys
- 終了ノードの地物管理キー(終了ノード複数指定)passedNodeKeys
- 通過ノードの地物管理キーリストscopeMagnify
- 検索範囲倍率(開始ノード、終了ノード間の距離にかける倍率、1以上)routeSelectClassName
- 取得経路優先度設定クラスの名称featureStructType
- 経路検索の際に使用する地物の構成を指定.resultKind
- 経路検索結果種別.経路検索結果種別 | 結果オブジェクト |
---|---|
_result_node_inner_key (ノードの地物管理キー) |
java.lang.Long |
_result_edge_inner_key (エッジの地物管理キー) |
java.lang.Long |
_result_node_feature (ノード地物) |
jp.co.melco.preserv.spatial.psvTopologyNodeFeature |
_result_edge_feature (エッジ地物) |
jp.co.melco.preserv.spatial.psvTopologyEdgeFeature |
_result_route_feature (経路上にある地物) |
jp.co.melco.preserv.spatial.psvTopologyNodeFeature + jp.co.melco.preserv.spatial.psvTopologyEdgeFeature |
cacheClear
- 経路探索キャッシュクリアフラグ.requestAttributes
- 経路探索時の取得主題属性指定.useEdgeGeometry
- エッジの幾何属性を使用して経路検索を行なうか指定.selectRouteKind
- 経路選択方法の種別を指定します。jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時TopologyRouteSelectorOptimalPath
,
TopologyRouteSelectValue
public java.util.Map getTopologyRoute(java.lang.String topologyLayerName, long startNodeKey, long[] endNodeKeys, long[] passedNodeKeys, double scopeMagnify, TopologyRouteSelectorOptimalPath routeSelectClass, int featureStructType, int resultKind, boolean cacheClear, java.lang.String[] requestAttributes, boolean useEdgeGeometry, int selectRouteKind)
topologyLayerName
- 検索対象の位相レイヤ名startNodeKey
- 開始ノードの地物管理キーendNodeKeys
- 終了ノードの地物管理キー(終了ノード複数指定)passedNodeKeys
- 通過ノードの地物管理キーリストscopeMagnify
- 検索範囲倍率(開始ノード、終了ノード間の距離にかける倍率、1以上)routeSelectClass
- 取得経路優先度設定クラス.featureStructType
- 経路検索の際に使用する地物の構成を指定.resultKind
- 経路検索結果種別.経路検索結果種別 | 結果オブジェクト |
---|---|
_result_node_inner_key (ノードの地物管理キー) |
java.lang.Long |
_result_edge_inner_key (エッジの地物管理キー) |
java.lang.Long |
_result_node_feature (ノード地物) |
jp.co.melco.preserv.spatial.psvTopologyNodeFeature |
_result_edge_feature (エッジ地物) |
jp.co.melco.preserv.spatial.psvTopologyEdgeFeature |
_result_route_feature (経路上にある地物) |
jp.co.melco.preserv.spatial.psvTopologyNodeFeature + jp.co.melco.preserv.spatial.psvTopologyEdgeFeature |
cacheClear
- 経路探索キャッシュクリアフラグ.requestAttributes
- 経路探索時の取得主題属性指定.useEdgeGeometry
- エッジの幾何属性を使用して経路検索を行なうか指定.selectRouteKind
- 経路選択方法の種別を指定します。jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時TopologyRouteSelectorOptimalPath
,
TopologyRouteSelectValue
public java.util.Map getRelationshipMap(long[] ids)
ids
- 取得対象地物関連の、地物管理キー
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public psvAttributeDefinitions getFeatureAttributeDefinitions()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Map getFeatureSchemaMap()
jp.co.melco.preserv.mog.common.mdmException
- 通信失敗時public java.util.Collection getIntersection(java.lang.String[] layerNames, jp.co.melco.preserv.psvRegion region)
layerNames
- 検索対象のレイヤ名称リスト(要素:psvFeature)(nullの場合全レイヤ)region
- 交差判定対象領域
protected java.util.Collection getIntersection(java.util.Collection target, java.lang.String[] layerNames, jp.co.melco.preserv.psvRegion region)
target
- 検索ターゲット地物集合(要素:psvFeature)(nullの場合空間DBがターゲット)layerNames
- 検索対象の地物レイヤ名称リスト(nullの場合全レイヤ)region
- 交差判定対象領域
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |