All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigdata.rawstore.TransientResourceMetadata Maven / Gradle / Ivy

package com.bigdata.rawstore;

import java.io.Serializable;
import java.util.UUID;

import com.bigdata.mdi.IResourceMetadata;

/**
 * Static class since must be {@link Serializable}.
 * 
 * @author Bryan Thompson
 * @version $Id: AbstractBTree.java 4336 2011-03-24 01:04:33Z thompsonbry $
 */
public final class TransientResourceMetadata implements IResourceMetadata {

    private final UUID uuid;
    
    public TransientResourceMetadata(final UUID uuid) {
        this.uuid = uuid;
    }

    private static final long serialVersionUID = 1L;

    public boolean isJournal() {
        return false;
    }

    public boolean isIndexSegment() {
        return false;
    }

    public boolean equals(IResourceMetadata o) {
        return false;
    }

    public long getCreateTime() {
        return 0L;
    }
    
    public long getCommitTime() {
        return 0L;
    }

    public String getFile() {
        return "";
    }

    public UUID getUUID() {
        return uuid;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy