-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added initial version of schema files
- Loading branch information
0 parents
commit 2b007b3
Showing
6 changed files
with
3,280 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one or more | ||
~ contributor license agreements. See the NOTICE file distributed with | ||
~ this work for additional information regarding copyright ownership. | ||
~ The ASF licenses this file to You under the Apache License, Version 2.0 | ||
~ (the "License"); you may not use this file except in compliance with | ||
~ the License. You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
<xsd:schema | ||
targetNamespace="http://geode.apache.org/schema/jdbc" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" | ||
attributeFormDefault="unqualified" | ||
version="1.0"> | ||
|
||
<xsd:annotation> | ||
<xsd:documentation><![CDATA[ | ||
XML schema for JDBC Connector Service in Geode. | ||
<cache | ||
xmlns="http://geode.apache.org/schema/cache" | ||
xmlns:jdbc="http://geode.apache.org/schema/jdbc" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://geode.apache.org/schema/cache | ||
http://geode.apache.org/schema/cache/cache-1.0.xsd | ||
http://geode.apache.org/schema/jdbc | ||
http://geode.apache.org/schema/jdbc/jdbc-1.0.xsd" | ||
version="1.0"> | ||
]]></xsd:documentation> | ||
</xsd:annotation> | ||
<xsd:element name="mapping"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="field-mapping" maxOccurs="unbounded" minOccurs="0"> | ||
<xsd:complexType> | ||
<xsd:simpleContent> | ||
<xsd:extension base="xsd:string"> | ||
<xsd:attribute type="xsd:string" name="pdx-name" use="required"/> | ||
<xsd:attribute type="xsd:string" name="pdx-type" use="required"/> | ||
<xsd:attribute type="xsd:string" name="jdbc-name" use="required"/> | ||
<xsd:attribute type="xsd:string" name="jdbc-type" use="required"/> | ||
<xsd:attribute type="xsd:boolean" name="jdbc-nullable" use="required"/> | ||
</xsd:extension> | ||
</xsd:simpleContent> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:sequence> | ||
<xsd:attribute type="xsd:string" name="data-source" use="required"/> | ||
<xsd:attribute type="xsd:string" name="table" use="optional"/> | ||
<xsd:attribute type="xsd:string" name="pdx-name" use="required"/> | ||
<xsd:attribute type="xsd:string" name="ids" use="optional"/> | ||
<xsd:attribute type="xsd:boolean" name="specified-ids" use="optional"/> | ||
<xsd:attribute type="xsd:string" name="catalog" use="optional"/> | ||
<xsd:attribute type="xsd:string" name="schema" use="optional"/> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<xsd:schema | ||
targetNamespace="http://geode.apache.org/schema/lucene" | ||
xmlns:gf="http://geode.apache.org/schema/cache" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" | ||
attributeFormDefault="unqualified" | ||
version="1.0"> | ||
|
||
<xsd:import | ||
namespace="http://geode.apache.org/schema/cache" | ||
schemaLocation="http://geode.apache.org/schema/cache/cache-1.0.xsd"/> | ||
|
||
<xsd:annotation> | ||
<xsd:documentation><![CDATA[ | ||
XML schema for Lucene indexes in Geode. | ||
<cache | ||
xmlns="http://geode.apache.org/schema/cache" | ||
xmlns:lucene="http://geode.apache.org/schema/lucene" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://geode.apache.org/schema/cache | ||
http://geode.apache.org/schema/cache/cache-1.0.xsd | ||
http://geode.apache.org/schema/lucene | ||
http://geode.apache.org/schema/lucene/lucene-1.0.xsd" | ||
version="1.0"> | ||
]]></xsd:documentation> | ||
</xsd:annotation> | ||
<xsd:element name="index"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="field" maxOccurs="unbounded"> | ||
<xsd:complexType> | ||
<xsd:attribute name="name" type="xsd:string" /> | ||
<xsd:attribute name="analyzer" type="xsd:string" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="serializer" minOccurs="0" maxOccurs="1" type="gf:declarable-type"> | ||
<xsd:annotation> | ||
<xsd:documentation> | ||
A serializer controls how objects are converted to lucene documents | ||
</xsd:documentation> | ||
</xsd:annotation> | ||
</xsd:element> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string"/> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one or more | ||
~ contributor license agreements. See the NOTICE file distributed with | ||
~ this work for additional information regarding copyright ownership. | ||
~ The ASF licenses this file to You under the Apache License, Version 2.0 | ||
~ (the "License"); you may not use this file except in compliance with | ||
~ the License. You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
<xsd:schema | ||
targetNamespace="http://geode.apache.org/schema/query-config-service" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" | ||
attributeFormDefault="unqualified" | ||
version="1.0"> | ||
|
||
<xsd:annotation> | ||
<xsd:documentation><![CDATA[ | ||
XML schema for configuring the query-config-service in Geode. | ||
<cache | ||
xmlns="http://geode.apache.org/schema/cache" | ||
xmlns:query="http://geode.apache.org/schema/query-config-service" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://geode.apache.org/schema/cache | ||
http://geode.apache.org/schema/cache/cache-1.0.xsd | ||
http://geode.apache.org/schema/query-config-service | ||
http://geode.apache.org/schema/query-config-service/query-config-service-1.0.xsd" | ||
version="1.0"> | ||
]]></xsd:documentation> | ||
</xsd:annotation> | ||
<xsd:element name="query-config-service"> | ||
<xsd:complexType> | ||
<xsd:all> | ||
<xsd:element name="method-authorizer" minOccurs="0"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="parameter" minOccurs="0" maxOccurs="unbounded"> | ||
<xsd:complexType> | ||
<xsd:attribute type="xsd:string" name="parameter-value" use="required"/> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:sequence> | ||
<xsd:attribute type="xsd:string" name="class-name" use="required"/> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:all> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<xsd:schema | ||
targetNamespace="https://gemfire.dev/schema/vectordb" | ||
xmlns:gf="http://geode.apache.org/schema/cache" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" | ||
attributeFormDefault="unqualified" | ||
version="1.0"> | ||
|
||
<xsd:import | ||
namespace="http://geode.apache.org/schema/cache" | ||
schemaLocation="http://geode.apache.org/schema/cache/cache-1.0.xsd"/> | ||
|
||
<xsd:annotation> | ||
<xsd:documentation><![CDATA[ | ||
XML schema for VectorDB Indexes in GemFire. | ||
<cache | ||
xmlns="http://geode.apache.org/schema/cache" | ||
xmlns:vectordb="https://gemfire.dev/schema/vectordb" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://geode.apache.org/schema/cache | ||
http://geode.apache.org/schema/cache/cache-1.0.xsd | ||
https://gemfire.dev/schema/vectordb | ||
https://gemfire.dev/schema/vectordb/vectordb-1.0.xsd" | ||
version="1.0"> | ||
]]></xsd:documentation> | ||
</xsd:annotation> | ||
<xsd:element name="index"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="field" maxOccurs="unbounded"> | ||
<xsd:complexType> | ||
<xsd:attribute name="name" type="xsd:string" /> | ||
<xsd:attribute name="analyzer" type="xsd:string" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="config" minOccurs="0" maxOccurs="1" type="gf:declarable-type"> | ||
<xsd:annotation> | ||
<xsd:documentation> | ||
Configuration information for a VectorDB index | ||
</xsd:documentation> | ||
</xsd:annotation> | ||
</xsd:element> | ||
<xsd:element name="serializer" minOccurs="0" maxOccurs="1" type="gf:declarable-type"> | ||
<xsd:annotation> | ||
<xsd:documentation> | ||
A serializer controls how objects are converted to VectorDB documents | ||
</xsd:documentation> | ||
</xsd:annotation> | ||
</xsd:element> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string"/> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |