| <?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. |
| --> |
| <gora-orm> |
| |
| <keyspace name="webpage" cluster="Test Cluster" host="localhost"> |
| <family name="p"/> |
| <family name="f"/> |
| <family name="sc" type="super"/> |
| </keyspace> |
| <class keyClass="java.lang.String" name="org.apache.nutch.storage.WebPage" keyspace="webpage"> |
| |
| <!-- fetch fields --> |
| <field name="baseUrl" family="f" qualifier="bas"/> |
| <field name="status" family="f" qualifier="st"/> |
| <field name="prevFetchTime" family="f" qualifier="pts"/> |
| <field name="fetchTime" family="f" qualifier="ts"/> |
| <field name="fetchInterval" family="f" qualifier="fi"/> |
| <field name="retriesSinceFetch" family="f" qualifier="rsf"/> |
| <field name="reprUrl" family="f" qualifier="rpr"/> |
| <field name="content" family="f" qualifier="cnt"/> |
| <field name="contentType" family="f" qualifier="typ"/> |
| <field name="modifiedTime" family="f" qualifier="mod"/> |
| |
| <!-- parse fields --> |
| <field name="title" family="p" qualifier="t"/> |
| <field name="text" family="p" qualifier="c"/> |
| <field name="signature" family="p" qualifier="sig"/> |
| <field name="prevSignature" family="p" qualifier="psig"/> |
| |
| <!-- score fields --> |
| <field name="score" family="f" qualifier="s"/> |
| |
| <!-- super columns --> |
| <field name="headers" family="sc" qualifier="h"/> |
| <field name="inlinks" family="sc" qualifier="il"/> |
| <field name="outlinks" family="sc" qualifier="ol"/> |
| <field name="metadata" family="sc" qualifier="mtdt"/> |
| <field name="markers" family="sc" qualifier="mk"/> |
| <field name="parseStatus" family="sc" qualifier="pas"/> |
| <field name="protocolStatus" family="sc" qualifier="prs"/> |
| </class> |
| |
| </gora-orm> |