yacy_search_server/source/net/yacy/search/index/DocumentMetadata.java
Roland 'Quix0r' Haeder d10627d591 More sync in close() methods
Conflicts:
	source/net/yacy/kelondro/logging/GuiHandler.java
	source/net/yacy/kelondro/workflow/InstantBusyThread.java
2012-05-17 06:03:18 +02:00

120 lines
2.9 KiB
Java

/**
* DocumentMetadata
* Copyright 2012 by Michael Peter Christen
* First released 3.4.2012 at http://yacy.net
*
* This file is part of YaCy Content Integration
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program in the file lgpl21.txt
* If not, see <http://www.gnu.org/licenses/>.
*/
package net.yacy.search.index;
import java.io.IOException;
import net.yacy.cora.order.CloneableIterator;
import net.yacy.cora.sorting.WeakPriorityBlockingQueue.Element;
import net.yacy.kelondro.data.meta.URIMetadata;
import net.yacy.kelondro.data.word.WordReference;
public class DocumentMetadata implements Metadata {
@Override
public void clearCache() {
// TODO Auto-generated method stub
}
@Override
public void clear() throws IOException {
// TODO Auto-generated method stub
}
@Override
public int size() {
// TODO Auto-generated method stub
return 0;
}
@Override
public synchronized void close() {
// TODO Auto-generated method stub
}
@Override
public int writeCacheSize() {
// TODO Auto-generated method stub
return 0;
}
@Override
public URIMetadata load(final Element<WordReference> obrwi) {
// TODO Auto-generated method stub
return null;
}
@Override
public URIMetadata load(final byte[] urlHash) {
// TODO Auto-generated method stub
return null;
}
@Override
public void store(final URIMetadata entry) throws IOException {
// TODO Auto-generated method stub
}
@Override
public boolean remove(final byte[] urlHashBytes) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean exists(final byte[] urlHash) {
// TODO Auto-generated method stub
return false;
}
@Override
public CloneableIterator<byte[]> keys(final boolean up, final byte[] firstKey) {
// TODO Auto-generated method stub
return null;
}
@Override
public CloneableIterator<URIMetadata> entries() throws IOException {
// TODO Auto-generated method stub
return null;
}
@Override
public CloneableIterator<URIMetadata> entries(final boolean up, final String firstHash)
throws IOException {
// TODO Auto-generated method stub
return null;
}
@Override
public int deleteDomain(final String hosthash) throws IOException {
// TODO Auto-generated method stub
return 0;
}
}