@Namespace(value="arrow::fs") @NoOffset @Properties(inherit=arrow.class) public class FileStats extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
FileStats.ByPath
Function object implementing less-than comparison and hashing
by path, to support sorting stats, using them as keys, and other
interactions with the STL.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FileStats() |
FileStats(FileStats arg0) |
FileStats(long size)
Native array allocator.
|
FileStats(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
base_name()
The file base name (component after the last directory separator)
|
String |
dir_name() |
boolean |
Equals(FileStats other) |
String |
extension()
The file extension (excluding the dot)
|
boolean |
IsDirectory() |
boolean |
IsFile() |
Pointer |
mtime()
The time of last modification, if available
|
String |
path()
The full file path in the filesystem
|
FileStats |
position(long position) |
FileStats |
put(FileStats arg0) |
void |
set_mtime(Pointer mtime) |
void |
set_path(BytePointer path) |
void |
set_path(String path) |
void |
set_size(long size) |
void |
set_type(arrow.FileType type) |
void |
set_type(byte type) |
long |
size()
The size in bytes, if available
Only regular files are guaranteed to have a size.
|
String |
ToString() |
arrow.FileType |
type()
The file type
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic FileStats(Pointer p)
Pointer.Pointer(Pointer).public FileStats(long size)
Pointer.position(long).public FileStats()
public arrow.FileType type()
public void set_type(arrow.FileType type)
@StdString public String path()
public void set_path(@StdString String path)
public void set_path(@StdString BytePointer path)
@StdString public String base_name()
@StdString public String dir_name()
@Cast(value="int64_t") public long size()
@StdString public String extension()
@ByVal @Cast(value="arrow::fs::TimePoint*") public Pointer mtime()
@StdString public String ToString()
Copyright © 2020. All rights reserved.